Skip to content

Commit 4c52c2f

Browse files
o-zanderyakky
authored andcommitted
fix the drag bar on plugin submenu
1 parent 9eeef59 commit 4c52c2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cms/static/cms/js/modules/cms.plugins.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ $(document).ready(function () {
459459
_setSubnav: function (nav) {
460460
var that = this;
461461

462+
nav.bind('mousedown', function (e) { e.stopPropagation(); }); // avoid starting the longclick event when using the drag bar
463+
462464
nav.bind('mouseenter mouseleave tap.cms', function (e) {
463465
e.preventDefault();
464466
e.stopPropagation();

0 commit comments

Comments
 (0)