orbit-basic/app/assets/javascripts/page_edit.js

4 lines
119 B
JavaScript

$("div.editable").live("mouseenter mouseleave",
function (event) {
$(this).children('.edit_link').toggle();
});