mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Disable animations in jstree for jQuery slim support
This commit is contained in:
parent
fd6d3079c2
commit
61de82e7fe
1 changed files with 4 additions and 2 deletions
|
@ -149,7 +149,9 @@ define(["datetime", "jQuery", "material-icons"], function(datetime, $) {
|
||||||
nodesToLoad = [], selectedNodeId = null, $.jstree.destroy(), $(".libraryTree", page).jstree({
|
nodesToLoad = [], selectedNodeId = null, $.jstree.destroy(), $(".libraryTree", page).jstree({
|
||||||
plugins: ["wholerow"],
|
plugins: ["wholerow"],
|
||||||
core: {
|
core: {
|
||||||
check_callback: !0,
|
// Disable animations because jQuery slim does not support them
|
||||||
|
animation: false,
|
||||||
|
check_callback: true,
|
||||||
data: function(node, callback) {
|
data: function(node, callback) {
|
||||||
loadNode(page, this, node, openItems, selectedId, currentUser, callback)
|
loadNode(page, this, node, openItems, selectedId, currentUser, callback)
|
||||||
},
|
},
|
||||||
|
@ -220,4 +222,4 @@ define(["datetime", "jQuery", "material-icons"], function(datetime, $) {
|
||||||
getCurrentItemId: getCurrentItemId,
|
getCurrentItemId: getCurrentItemId,
|
||||||
setCurrentItemId: setCurrentItemId
|
setCurrentItemId: setCurrentItemId
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue