mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
slider: removed hover and focus from range as it's not draggable (yet)
This commit is contained in:
parent
26be359cde
commit
cca491dc4f
@ -34,7 +34,8 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, {
|
|||||||
|
|
||||||
if (this.options.range) {
|
if (this.options.range) {
|
||||||
if (this.options.range === true) {
|
if (this.options.range === true) {
|
||||||
this.range = $('<a href="#"></a>');
|
//this.range = $('<a href="#"></a>');
|
||||||
|
this.range = $('<div></div>');
|
||||||
if (!this.options.values) this.options.values = [this._valueMin(), this._valueMin()];
|
if (!this.options.values) this.options.values = [this._valueMin(), this._valueMin()];
|
||||||
if (this.options.values.length && this.options.values.length != 2) {
|
if (this.options.values.length && this.options.values.length != 2) {
|
||||||
this.options.values = [this.options.values[0], this.options.values[0]];
|
this.options.values = [this.options.values[0], this.options.values[0]];
|
||||||
|
Loading…
Reference in New Issue
Block a user