Denis K 8 years ago
parent
commit
a8a89e2e35
1 changed files with 3 additions and 1 deletions
  1. 3 1
      jet/static/jet/js/src/features/dashboard.js

+ 3 - 1
jet/static/jet/js/src/features/dashboard.js

@@ -26,7 +26,9 @@ Dashboard.prototype = {
     initTools: function($dashboard) {
     initTools: function($dashboard) {
         var self = this;
         var self = this;
 
 
-        $dashboard.find('.dashboard-tools-toggle').on('click', function () {
+        $dashboard.find('.dashboard-tools-toggle').on('click', function (e) {
+            e.preventDefault();
+
             $dashboard.find('.dashboard-tools').toggleClass('visible');
             $dashboard.find('.dashboard-tools').toggleClass('visible');
         });
         });