fix build, .remove is the callback, don't call it immediately
This commit is contained in:
parent
addbaaeb70
commit
c55a867f61
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ var View = {
|
||||||
top: 0
|
top: 0
|
||||||
}).delay(2000).animate({
|
}).delay(2000).animate({
|
||||||
top: -100
|
top: -100
|
||||||
}, $this.remove())
|
}, $this.remove)
|
||||||
},
|
},
|
||||||
selector: "#flash_notice, #flash_error, #flash_alert"
|
selector: "#flash_notice, #flash_error, #flash_alert"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue