Browse Source

show edit buttons only on mouse over

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

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

@@ -64,6 +64,16 @@ $(window).load(function() {
});
});

// Show edit-buttons only on mouse over
$('.pin').each(function(){
var thisPin = $(this);
thisPin.find('.editable').hide();
thisPin.unbind('hover');
thisPin.hover(function() {
thisPin.find('.editable').toggle();
});
});

$('.spinner').css('display', 'none');
blockContainer.css('height', colHeights.sort().slice(-1)[0]);
}


Loading…
Cancel
Save