post tooltips: add disable option (#3689).

* Add "disable post tooltips" account setting.
* Add back title attribute for when fancy tooltips are disabled.
This commit is contained in:
evazion
2018-04-28 23:18:49 -05:00
parent 1a29b96579
commit a6499b5169
7 changed files with 20 additions and 3 deletions

View File

@@ -78,6 +78,8 @@
<%= f.input :disable_mobile_gestures, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
<%= f.input :disable_post_tooltips, :as => :select, :hint => "Disable advanced tooltips when hovering over thumbnails", :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
<%#= f.input :disable_cropped_thumbnails, :as => :select, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %>
<div class="input text optional field_with_hint">