mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
Update node modules
This commit is contained in:
parent
52a013772f
commit
09d8558456
858 changed files with 5466 additions and 544833 deletions
25
node_modules/jquery-ui/ui/widgets/sortable.js
generated
vendored
25
node_modules/jquery-ui/ui/widgets/sortable.js
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* jQuery UI Sortable 1.13.3
|
||||
* jQuery UI Sortable 1.14.0
|
||||
* https://jqueryui.com
|
||||
*
|
||||
* Copyright OpenJS Foundation and other contributors
|
||||
|
@ -24,7 +24,6 @@
|
|||
"jquery",
|
||||
"./mouse",
|
||||
"../data",
|
||||
"../ie",
|
||||
"../scroll-parent",
|
||||
"../version",
|
||||
"../widget"
|
||||
|
@ -38,7 +37,7 @@
|
|||
"use strict";
|
||||
|
||||
return $.widget( "ui.sortable", $.ui.mouse, {
|
||||
version: "1.13.3",
|
||||
version: "1.14.0",
|
||||
widgetEventPrefix: "sort",
|
||||
ready: false,
|
||||
options: {
|
||||
|
@ -276,11 +275,7 @@ return $.widget( "ui.sortable", $.ui.mouse, {
|
|||
if ( o.cursor && o.cursor !== "auto" ) { // cursor option
|
||||
body = this.document.find( "body" );
|
||||
|
||||
// Support: IE
|
||||
this.storedCursor = body.css( "cursor" );
|
||||
body.css( "cursor", o.cursor );
|
||||
|
||||
this.storedStylesheet =
|
||||
this._storedStylesheet =
|
||||
$( "<style>*{ cursor: " + o.cursor + " !important; }</style>" ).appendTo( body );
|
||||
}
|
||||
|
||||
|
@ -1197,11 +1192,9 @@ return $.widget( "ui.sortable", $.ui.mouse, {
|
|||
po.top += this.scrollParent.scrollTop();
|
||||
}
|
||||
|
||||
// This needs to be actually done for all browsers, since pageX/pageY includes this
|
||||
// information with an ugly IE fix
|
||||
if ( this.offsetParent[ 0 ] === this.document[ 0 ].body ||
|
||||
( this.offsetParent[ 0 ].tagName &&
|
||||
this.offsetParent[ 0 ].tagName.toLowerCase() === "html" && $.ui.ie ) ) {
|
||||
// This needs to be actually done for all browsers, since pageX/pageY includes
|
||||
// this information.
|
||||
if ( this.offsetParent[ 0 ] === this.document[ 0 ].body ) {
|
||||
po = { top: 0, left: 0 };
|
||||
}
|
||||
|
||||
|
@ -1549,9 +1542,9 @@ return $.widget( "ui.sortable", $.ui.mouse, {
|
|||
}
|
||||
|
||||
//Do what was originally in plugins
|
||||
if ( this.storedCursor ) {
|
||||
this.document.find( "body" ).css( "cursor", this.storedCursor );
|
||||
this.storedStylesheet.remove();
|
||||
if ( this._storedStylesheet ) {
|
||||
this._storedStylesheet.remove();
|
||||
this._storedStylesheet = null;
|
||||
}
|
||||
if ( this._storedOpacity ) {
|
||||
this.helper.css( "opacity", this._storedOpacity );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue