A platform for community discussion. Free, open, simple.
DEV: Fix broken stylesheet watcher.
Alan Guo Xiang Tane64f9c87fb4b
diff --git a/lib/stylesheet/watcher.rb b/lib/stylesheet/watcher.rbindex a8bbda5f003..0827cb6208d 100644--- a/lib/stylesheet/watcher.rb+++ b/lib/stylesheet/watcher.rb@@ -98,7 +98,7 @@ module Stylesheetmessage = targets.map! do |name|msgs = []active_themes.each do |theme_id|- msgs << Stylesheet::Manager.stylesheet_data(name.to_sym, theme_id)+ msgs << Stylesheet::Manager.new(theme_id: theme_id).stylesheet_data(name.to_sym)endmsgsend.flatten!@@ -116,7 +116,7 @@ module Stylesheetmessage = targets.map! do |name|msgs = []active_themes.each do |theme_id|- msgs << Stylesheet::Manager.stylesheet_data(name.to_sym, theme_id)+ msgs << Stylesheet::Manager.new(theme_id: theme_id).stylesheet_data(name.to_sym)endmsgsend.flatten!