diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-11-30 13:41:54 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-11-30 13:41:54 +0100 |
commit | 9ef5cd02fa17e81d28e91b8a51f590148aa15949 (patch) | |
tree | 8a46eee00dcc0a5c65a1e77232a35e49128188ea /ui | |
parent | 970befceb4b782181fdca990971334a021000afb (diff) | |
download | jquery-ui-9ef5cd02fa17e81d28e91b8a51f590148aa15949.tar.gz jquery-ui-9ef5cd02fa17e81d28e91b8a51f590148aa15949.zip |
Spinner: Use inline-element for better inline-block support. Removed float:left from input to fix input focussing in IE6.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.spinner.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js index 80ade7ba4..8be9bbd0c 100644 --- a/ui/jquery.ui.spinner.js +++ b/ui/jquery.ui.spinner.js @@ -70,12 +70,6 @@ $.widget('ui.spinner', { self.hovered = false;
});
- // TODO: move to theme, ask FG how
- // fix inline-block issues for IE. Since IE8 supports inline-block we need to exclude it.
- if (!$.support.opacity && uiSpinner.css('display') == 'inline-block' && $.browser.version < 8) {
- uiSpinner.css('display', 'inline');
- }
-
this.element
.bind('keydown.spinner', function(event) {
if (self.options.disabled) {
@@ -206,7 +200,7 @@ $.widget('ui.spinner', { },
_uiSpinnerHtml: function() {
- return '<div role="spinbutton" class="ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all"></div>';
+ return '<span role="spinbutton" class="ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all"></span>';
},
_buttonHtml: function() {
|