Author: sevein
Date: Thu Sep  1 15:12:37 2011
New Revision: 9654

Log:
Cancel default behavior of menu anchors

Modified:
   trunk/plugins/qtTrilliumPlugin/js/trillium.js

Modified: trunk/plugins/qtTrilliumPlugin/js/trillium.js
==============================================================================
--- trunk/plugins/qtTrilliumPlugin/js/trillium.js       Thu Sep  1 12:36:24 
2011        (r9653)
+++ trunk/plugins/qtTrilliumPlugin/js/trillium.js       Thu Sep  1 15:12:37 
2011        (r9654)
@@ -9,6 +9,14 @@
         {
           $('.sidebar').remove();
           $('#content').width(940);
+          /*
+          $('#content').css(
+            {
+              'margin': '0 auto',
+              'display': 'block',
+              'float': 'none'
+            });
+          */
         }
 
         // Menu
@@ -20,6 +28,8 @@
             if ($target.hasClass('menu') && 'A' == $target.get(0).tagName)
             {
               $target.parent().addClass('open');
+
+              return false;
             }
           });
 

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to