Skip to content

Commit

Permalink
Merge pull request tdiary#159 from tdiary/preview_category
Browse files Browse the repository at this point in the history
show preview's prefs in "update" category in prefs page
  • Loading branch information
machu committed May 9, 2016
2 parents 20849a0 + 53e338f commit 778108a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
add_js_setting('$tDiary.plugin.preview.minWidth', @conf['preview.min_width'].to_json)
end

add_conf_proc('preview', @preview_label_conf) do
add_conf_proc('preview', @preview_label_conf, 'update') do
if @mode == 'saveconf'
@conf['preview.interval'] = @cgi.params['preview.interval'][0].to_i
@conf['preview.min_width'] = @cgi.params['preview.min_width'][0].to_i
Expand Down

0 comments on commit 778108a

Please sign in to comment.