1. Thomas Waldmann
  2. moin-2.0

Commits

Thomas Waldmann  committed c97528d Merge

merged

  • Participants
  • Parent commits b0cce90, 6d10f83
  • Branches default

Comments (0)

Files changed (1)

File MoinMoin/static/js/common.js

View file
  • Ignore whitespace
     if (pageComments.length > 0) {
         // There are comments, so show itemview Comments button
         $('.moin-toggle-comments-button').css('display', '');
-        $('.moin-toggle-comments-button').click(toggleComments);
         // comments are visible; per user option, hide comments if there is not a <br id="moin-show-comments" />
         if (!document.getElementById('moin-show-comments')) {
             this.toggleComments();
     wrappers = $('.moin-item-wrapper');
     if (wrappers.length > 0) {
         $('.moin-transclusions-button').css('display', '');
-        $('.moin-transclusions-button').click(toggleTransclusionOverlays);
     }
     $('.moin-transclusions-button').click(this.toggleTransclusionOverlays);
 };