mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Spinner: disable text selection on buttons (plus minmal whitespace cleanup)
This commit is contained in:
parent
8c085cd27c
commit
27a4fdd8ed
1
ui/jquery.ui.spinner.js
vendored
1
ui/jquery.ui.spinner.js
vendored
@ -63,6 +63,7 @@ $.widget( "ui.spinner", {
|
|||||||
// add buttons
|
// add buttons
|
||||||
.append( self._buttonHtml() )
|
.append( self._buttonHtml() )
|
||||||
// add behaviours
|
// add behaviours
|
||||||
|
.disableSelection()
|
||||||
// TODO: user ._hoverable
|
// TODO: user ._hoverable
|
||||||
.hover(function() {
|
.hover(function() {
|
||||||
if ( !options.disabled ) {
|
if ( !options.disabled ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user