changeset 1887:447c183a41bc

use class (not id) for toggleCommentsButton, as we use it multiple times
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 16 Mar 2007 13:06:03 +0100
parents 7055054118f4
children ffe2e789a7c6 dc1c3ca94cf8
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Fri Mar 16 12:53:17 2007 +0100
+++ b/MoinMoin/theme/__init__.py	Fri Mar 16 13:06:03 2007 +0100
@@ -1075,7 +1075,7 @@
                  # we just use <a> to get same style as other links, but we add some dummy
                  # link target to get correct mouseover pointer appearance. return false
                  # keeps the browser away from jumping to the link target:: 
-                 editbar_actions.append('<a href="#" id="toggleCommentsButton" onClick="toggleComments();return false;">%s</a>' % _('Comments'))
+                 editbar_actions.append('<a href="#" class="toggleCommentsButton" onClick="toggleComments();return false;">%s</a>' % _('Comments'))
              elif editbar_item == 'Edit':
                  editbar_actions.append(self.editorLink(page))
              elif editbar_item == 'Info':