From af8e3bc2141b5ded8949679c7e902760bd046917 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 16 Sep 2020 13:23:05 +0800 Subject: [PATCH] fix error --- app/views/admin/feeds/_announcements.html.erb | 6 ++++++ app/views/admin/feeds/announcements.html.erb | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/admin/feeds/_announcements.html.erb b/app/views/admin/feeds/_announcements.html.erb index 6c9f832..532c275 100644 --- a/app/views/admin/feeds/_announcements.html.erb +++ b/app/views/admin/feeds/_announcements.html.erb @@ -56,5 +56,11 @@ \ No newline at end of file diff --git a/app/views/admin/feeds/announcements.html.erb b/app/views/admin/feeds/announcements.html.erb index 44a9874..289706d 100644 --- a/app/views/admin/feeds/announcements.html.erb +++ b/app/views/admin/feeds/announcements.html.erb @@ -112,11 +112,5 @@ width: window_width*0.85, height: window_height*0.8 }); - $('.is_top,.is_hot').change(function(){ - process_annc(this) - }) - $('.hidden_btn,.display_btn').click(function(){ - process_annc(this) - }) }) \ No newline at end of file