use jQuery's 'on' method

This commit is contained in:
Parziphal 2013-11-21 14:03:07 -05:00
parent 3f70df54ee
commit a04e2e590c

View File

@ -38,7 +38,7 @@
<div style="margin-bottom: 1em;">
<p id="note-count"></p>
<script type="text/javascript">
jQuery('#image').mousedown(function(e){
jQuery('#image').on('mousedown', function(e){
if (e.shiftKey) Note.dragCreate(e)
})