forked from 0x2620/oxjs
use .on, not .eventname
This commit is contained in:
parent
81d9af2013
commit
7c640519d1
8 changed files with 45 additions and 35 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue