-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
41 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**! | ||
* Sortable 1.15.4 | ||
* Sortable 1.15.5 | ||
* @author RubaXa <[email protected]> | ||
* @author owenm <[email protected]> | ||
* @license MIT | ||
|
@@ -134,7 +134,7 @@ | |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
|
||
var version = "1.15.4"; | ||
var version = "1.15.5"; | ||
|
||
function userAgent(pattern) { | ||
if (typeof window !== 'undefined' && window.navigator) { | ||
|
@@ -1414,13 +1414,13 @@ | |
on(rootEl, 'dragstart', this._onDragStart); | ||
} | ||
try { | ||
_nextTick(function () { | ||
if (document.selection) { | ||
if (document.selection) { | ||
_nextTick(function () { | ||
document.selection.empty(); | ||
} else { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
}); | ||
}); | ||
} else if (this.nativeDraggable) { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
} catch (err) {} | ||
}, | ||
_dragStarted: function _dragStarted(fallback, evt) { | ||
|
@@ -1636,6 +1636,7 @@ | |
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt)); | ||
on(document, 'selectstart', _this); | ||
moved = true; | ||
window.getSelection().removeAllRanges(); | ||
if (Safari) { | ||
css(document.body, 'user-select', 'none'); | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**! | ||
* Sortable 1.15.4 | ||
* Sortable 1.15.5 | ||
* @author RubaXa <[email protected]> | ||
* @author owenm <[email protected]> | ||
* @license MIT | ||
|
@@ -128,7 +128,7 @@ function _nonIterableSpread() { | |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
|
||
var version = "1.15.4"; | ||
var version = "1.15.5"; | ||
|
||
function userAgent(pattern) { | ||
if (typeof window !== 'undefined' && window.navigator) { | ||
|
@@ -1408,13 +1408,13 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
on(rootEl, 'dragstart', this._onDragStart); | ||
} | ||
try { | ||
_nextTick(function () { | ||
if (document.selection) { | ||
if (document.selection) { | ||
_nextTick(function () { | ||
document.selection.empty(); | ||
} else { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
}); | ||
}); | ||
} else if (this.nativeDraggable) { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
} catch (err) {} | ||
}, | ||
_dragStarted: function _dragStarted(fallback, evt) { | ||
|
@@ -1630,6 +1630,7 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt)); | ||
on(document, 'selectstart', _this); | ||
moved = true; | ||
window.getSelection().removeAllRanges(); | ||
if (Safari) { | ||
css(document.body, 'user-select', 'none'); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**! | ||
* Sortable 1.15.4 | ||
* Sortable 1.15.5 | ||
* @author RubaXa <[email protected]> | ||
* @author owenm <[email protected]> | ||
* @license MIT | ||
|
@@ -128,7 +128,7 @@ function _nonIterableSpread() { | |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
|
||
var version = "1.15.4"; | ||
var version = "1.15.5"; | ||
|
||
function userAgent(pattern) { | ||
if (typeof window !== 'undefined' && window.navigator) { | ||
|
@@ -1408,13 +1408,13 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
on(rootEl, 'dragstart', this._onDragStart); | ||
} | ||
try { | ||
_nextTick(function () { | ||
if (document.selection) { | ||
if (document.selection) { | ||
_nextTick(function () { | ||
document.selection.empty(); | ||
} else { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
}); | ||
}); | ||
} else if (this.nativeDraggable) { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
} catch (err) {} | ||
}, | ||
_dragStarted: function _dragStarted(fallback, evt) { | ||
|
@@ -1630,6 +1630,7 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt)); | ||
on(document, 'selectstart', _this); | ||
moved = true; | ||
window.getSelection().removeAllRanges(); | ||
if (Safari) { | ||
css(document.body, 'user-select', 'none'); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**! | ||
* Sortable 1.15.4 | ||
* Sortable 1.15.5 | ||
* @author RubaXa <[email protected]> | ||
* @author owenm <[email protected]> | ||
* @license MIT | ||
|
@@ -128,7 +128,7 @@ function _nonIterableSpread() { | |
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
|
||
var version = "1.15.4"; | ||
var version = "1.15.5"; | ||
|
||
function userAgent(pattern) { | ||
if (typeof window !== 'undefined' && window.navigator) { | ||
|
@@ -1408,13 +1408,13 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
on(rootEl, 'dragstart', this._onDragStart); | ||
} | ||
try { | ||
_nextTick(function () { | ||
if (document.selection) { | ||
if (document.selection) { | ||
_nextTick(function () { | ||
document.selection.empty(); | ||
} else { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
}); | ||
}); | ||
} else if (this.nativeDraggable) { | ||
window.getSelection().removeAllRanges(); | ||
} | ||
} catch (err) {} | ||
}, | ||
_dragStarted: function _dragStarted(fallback, evt) { | ||
|
@@ -1630,6 +1630,7 @@ Sortable.prototype = /** @lends Sortable.prototype */{ | |
_this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt)); | ||
on(document, 'selectstart', _this); | ||
moved = true; | ||
window.getSelection().removeAllRanges(); | ||
if (Safari) { | ||
css(document.body, 'user-select', 'none'); | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters