
disable spinner UI of page navigation in Firefox
@9fb5fcc0ffd393f6aa5e12e8dd2b9e3a19a70168
--- app/assets/stylesheets/less/_common.less
+++ app/assets/stylesheets/less/_common.less
... | ... | @@ -96,6 +96,7 @@ |
96 | 96 |
} |
97 | 97 |
} |
98 | 98 |
&.delimiter { color:#ddd; padding:0 5px; } |
99 |
+ .nospinner { -moz-appearance:textfield; } |
|
99 | 100 |
} |
100 | 101 |
} |
101 | 102 |
} |
--- public/javascripts/common/yobi.Pagination.js
+++ public/javascripts/common/yobi.Pagination.js
... | ... | @@ -163,7 +163,7 @@ |
163 | 163 |
* @private |
164 | 164 |
*/ |
165 | 165 |
function _getPageInputBox(htData){ |
166 |
- var welPageInput = $('<input type="number" pattern="[0-9]*" class="input-mini">'); |
|
166 |
+ var welPageInput = $('<input type="number" pattern="[0-9]*" class="input-mini nospinner">'); |
|
167 | 167 |
|
168 | 168 |
welPageInput.prop({ |
169 | 169 |
"name" : htData.paramNameForPage, |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?