mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add legacy script
This commit is contained in:
parent
3443ccc310
commit
5a71a65637
2 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,7 @@ define(['jQuery'], function ($) {
|
||||||
dependencies.push('jqmcollapsible');
|
dependencies.push('jqmcollapsible');
|
||||||
dependencies.push('jqmcheckbox');
|
dependencies.push('jqmcheckbox');
|
||||||
dependencies.push('legacy/dashboard');
|
dependencies.push('legacy/dashboard');
|
||||||
|
dependencies.push('legacy/selectmenu');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isPluginpage || (newView.classList && newView.classList.contains('type-interior'))) {
|
if (isPluginpage || (newView.classList && newView.classList.contains('type-interior'))) {
|
||||||
|
|
5
dashboard-ui/legacy/selectmenu.js
Normal file
5
dashboard-ui/legacy/selectmenu.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
// TODO: This needs to be deprecated, but it's used heavily by plugins
|
||||||
|
$.fn.selectmenu = function () {
|
||||||
|
// No-op. This implementation only exists to prevent script errors
|
||||||
|
return this;
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue