Remove I18n.locale for announcement front-end
Fix counter in back-end edit
This commit is contained in:
1 parent
4d965d754b
commit
61b0f94c04
2 files changed
+16
-16
No files matched your search
@@ -248,7 +248,7 @@ module ParserCommon
|
||||
when 'this_year'
|
||||
res << display_visitors_this_year.to_s
|
||||
end
|
||||
fragment = Nokogiri::HTML::DocumentFragment.new(body, res)
|
||||
fragment = Nokogiri::HTML::DocumentFragment.new(body, "<div id='#{counter['id']}' class='#{counter['class']}'>#{res}</div>")
|
||||
counter.swap(fragment)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user