1
0
Fork 0
forked from 0x2620/oxjs

use .on, not .eventname

This commit is contained in:
rolux 2013-12-06 21:43:00 +01:00
commit 7c640519d1
8 changed files with 45 additions and 35 deletions

View file

@ -387,8 +387,10 @@ Ox.load.UI = function(options, callback) {
opacity: error ? 0.9 : 0
}, 1000, function() {
if (error) {
$div.click(function() {
$div.remove();
$div.on({
click: function() {
$div.remove();
}
});
} else {
clearInterval(loadingInterval);