Permalink
Browse files

Click on menu bubbles up so it could be reused

  • Loading branch information...
michi lehr
michi lehr committed Sep 9, 2012
1 parent 7594f3e commit aca586e68538a6a2f6714c460aa7adf5104ef0c0
Showing with 2 additions and 2 deletions.
  1. +2 −2 markitup/jquery.markitup.js
@@ -185,8 +185,8 @@
li = $('<li class="markItUpButton markItUpButton'+t+(i)+' '+(button.className||'')+'"><a href="" '+key+' title="'+title+'">'+(button.name||'')+'</a></li>')
.bind("contextmenu.markItUp", function() { // prevent contextmenu on mac and allow ctrl+click
return false;
}).bind('click.markItUp', function() {
return false;
}).bind('click.markItUp', function(e) {
e.preventDefault();
}).bind("focusin.markItUp", function(){
$$.focus();
}).bind('mouseup', function() {

0 comments on commit aca586e

Please sign in to comment.