From c55a867f61de17301979ab2b1f7c3c0218dd37e9 Mon Sep 17 00:00:00 2001 From: OhaiBBQ Date: Sun, 5 Dec 2010 00:26:10 +0300 Subject: [PATCH] fix build, .remove is the callback, don't call it immediately --- public/javascripts/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/view.js b/public/javascripts/view.js index 68ac59146..72611305b 100644 --- a/public/javascripts/view.js +++ b/public/javascripts/view.js @@ -92,7 +92,7 @@ var View = { top: 0 }).delay(2000).animate({ top: -100 - }, $this.remove()) + }, $this.remove) }, selector: "#flash_notice, #flash_error, #flash_alert"