HeeGu Lee 2014-11-05
disable spinner UI of page navigation in Firefox
@9fb5fcc0ffd393f6aa5e12e8dd2b9e3a19a70168
app/assets/stylesheets/less/_common.less
--- app/assets/stylesheets/less/_common.less
+++ app/assets/stylesheets/less/_common.less
@@ -96,6 +96,7 @@
                 }
             }
             &.delimiter { color:#ddd; padding:0 5px; }
+            .nospinner { -moz-appearance:textfield; }
         }
     }
 }
public/javascripts/common/yobi.Pagination.js
--- public/javascripts/common/yobi.Pagination.js
+++ public/javascripts/common/yobi.Pagination.js
@@ -163,7 +163,7 @@
      * @private
      */
     function _getPageInputBox(htData){
-        var welPageInput = $('<input type="number" pattern="[0-9]*" class="input-mini">');
+        var welPageInput = $('<input type="number" pattern="[0-9]*" class="input-mini nospinner">');
 
         welPageInput.prop({
             "name" : htData.paramNameForPage,
Add a comment
List