just a couple of small tweaks
This commit is contained in:
parent
e4fb98bd02
commit
13109f8a1f
|
@ -100,10 +100,7 @@ SchedulerPlugin = Ext.extend(Deluge.Plugin, {
|
|||
|
||||
onEnable: function() {
|
||||
this.prefsPage = new SchedulerPreferences();
|
||||
Deluge.Preferences.addPage(this.prefsPage);
|
||||
this.prefsPage = Deluge.Preferences.addPage(this.prefsPage);
|
||||
}
|
||||
});
|
||||
|
||||
(function() {
|
||||
var plugin = new SchedulerPlugin();
|
||||
})();
|
||||
new SchedulerPlugin();
|
Loading…
Reference in New Issue