Browse Source

remove doubled event listeners

tags/v1.0.0
Rober Torkuhl 11 years ago
parent
commit
0a5ed2b049
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      pinry/static/js/pinry.js

+ 1
- 0
pinry/static/js/pinry.js View File

@@ -51,6 +51,7 @@ $(window).load(function() {
// Delete pin if trash icon clicked
$('.icon-trash').each(function() {
var thisPin = $(this);
$(this).unbind('click');
$(this).click(function() {
$(this).off('click');
var promise = deletePinData($(this).data('id'));


Loading…
Cancel
Save