use jQuery's 'on' method
This commit is contained in:
parent
3f70df54ee
commit
a04e2e590c
@ -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)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user