aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.spinner.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-10-12 10:36:56 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-10-14 16:46:38 -0400
commit112185ec8ddb7f0849fa40e7b1409e28153555f8 (patch)
tree1f34561b80de1578defe0f54531ba9b4c59cd390 /ui/jquery.ui.spinner.js
parent025266e00270d155f45550b6838ddd6f4a44470b (diff)
downloadjquery-ui-112185ec8ddb7f0849fa40e7b1409e28153555f8.tar.gz
jquery-ui-112185ec8ddb7f0849fa40e7b1409e28153555f8.zip
Spinner: Remove ui-state- classes from spinner, along with the background:none TR override. Fixes #8654 - Spinner background-color
Diffstat (limited to 'ui/jquery.ui.spinner.js')
-rw-r--r--ui/jquery.ui.spinner.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index 23cce18ef..406eefb91 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -94,7 +94,6 @@ $.widget( "ui.spinner", {
},
keyup: "_stop",
focus: function() {
- this.uiSpinner.addClass( "ui-state-active" );
this.previous = this.element.val();
},
blur: function( event ) {
@@ -104,7 +103,6 @@ $.widget( "ui.spinner", {
}
this._refresh();
- this.uiSpinner.removeClass( "ui-state-active" );
if ( this.previous !== this.element.val() ) {
this._trigger( "change", event );
}
@@ -196,7 +194,6 @@ $.widget( "ui.spinner", {
.parent()
// add buttons
.append( this._buttonHtml() );
- this._hoverable( uiSpinner );
this.element.attr( "role", "spinbutton" );
@@ -242,7 +239,7 @@ $.widget( "ui.spinner", {
},
_uiSpinnerHtml: function() {
- return "<span class='ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all'></span>";
+ return "<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>";
},
_buttonHtml: function() {