show edit buttons only on mouse over

This commit is contained in:
Rober Torkuhl
2013-03-09 21:39:01 +01:00
parent b0d1cb4e19
commit 9bbc0d19ce

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]);
}