summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-07-09 23:26:06 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-07-09 23:26:06 -0400
commitb15f0bd957dae0ae23140135b01506fbeca2a1e5 (patch)
treeb7940e92dad53cec0d039e25740de98378480849
parent05104c93a1b12845875691e7b97ea9d9239c8ef1 (diff)
mv config/initializers/{form_improvements,leaguer_firefox_submit_hack}.rb
Note: this is no longer required in Firefox 30.
-rw-r--r--config/initializers/leaguer_firefox_submit_hack.rb (renamed from config/initializers/form_improvements.rb)3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/form_improvements.rb b/config/initializers/leaguer_firefox_submit_hack.rb
index c91dce8..2120379 100644
--- a/config/initializers/form_improvements.rb
+++ b/config/initializers/leaguer_firefox_submit_hack.rb
@@ -1,4 +1,7 @@
# -*- ruby-indent-level: 2; indent-tabs-mode: nil -*-
+# This hacks around <input type="submit"> being sized weird by replacing it with <button type="submit">
+# This was nescessary in FF28, no longer in FF30.
+# I have no idea about Chrome or Safari; I imagine browsers are converging on making it sized sanely.
module ActionView
module Helpers
module FormTagHelper