From a3a109fb8b1cd6b71dabb6299796acf361946ba2 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Wed, 25 Apr 2012 13:58:03 +0800 Subject: [PATCH] Remove JS debug msg. --- app/views/admin/ad_banners/_modal_preview.html.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/admin/ad_banners/_modal_preview.html.erb b/app/views/admin/ad_banners/_modal_preview.html.erb index 12e95020..a79dc56e 100644 --- a/app/views/admin/ad_banners/_modal_preview.html.erb +++ b/app/views/admin/ad_banners/_modal_preview.html.erb @@ -21,7 +21,6 @@ $(document).ready(function() { $("#slideshow-<%=ad_banner.title.dehumanize%>").on("show", function () { - console.info("<%= ad_banner.ad_fx.nil?? "fade": ad_banner.ad_fx %>"+" <%= ad_banner.transition_msec %>"); $("#slideshow-<%=ad_banner.title.dehumanize%>").find(".ad_banner_slideshow").cycle({delay: -1000, fx: "<%= ad_banner.ad_fx.nil?? "fade": ad_banner.ad_fx %>", timeoutFn: getTimeout }); }); $(".modal").on("hidden", function () {