removed .on("mouse(enter|leave)" (wrapping trash icon), as it stalls delete of favorites in IE11

This commit is contained in:
Ralf Becker 2014-02-26 15:44:00 +00:00
parent dc656e85fd
commit 1ae9925cd5

View File

@ -298,8 +298,7 @@ var AppJS = Class.extend(
this.sidebox = sidebox;
sidebox
.off()
.on("mouseenter","div.ui-icon-trash", function() {$j(this).wrap("<span class='ui-state-active'/>");})
.on("mouseleave","div.ui-icon-trash", function() {$j(this).unwrap();})
// removed .on("mouse(enter|leave)" (wrapping trash icon), as it stalls delete in IE11
.on("click","div.ui-icon-trash", this, this.delete_favorite)
// need to install a favorite handler, as we switch original one off with .off()
.on('click','li[data-id]', this, function(){