Skip to content

Commit

Permalink
activating enter
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Oct 1, 2010
1 parent d74410c commit 68d3052
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tagging.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@
* Event for keypress on the input field of the tagging-widget.
*/
function bind_enter() {
/* if ($.browser.mozilla || $.browser.opera) {
if ($.browser.mozilla || $.browser.opera) {
$(input_sel).bind('keypress',check_enter);
}
else {
$(input_sel).bind('keydown',check_enter);
}*/
}
}

/*
Expand Down Expand Up @@ -256,4 +256,4 @@
}
);
}
})(jQuery);
})(jQuery);

0 comments on commit 68d3052

Please sign in to comment.