mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Open preferences if no known last plugin
This commit is contained in:
parent
e4fa9dd60e
commit
6d0801d590
@ -142,7 +142,9 @@ define(function(require, exports, module) {
|
||||
hint: "reload plugin last reloaded in plugin manager",
|
||||
exec: function() {
|
||||
var name = getLastReloaded();
|
||||
name && reload(name);
|
||||
if (!name)
|
||||
return commands.exec("reloadPlugin", null, { panel: plugin });
|
||||
reload(name);
|
||||
}
|
||||
}, plugin);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user