just a couple of small tweaks

This commit is contained in:
Damien Churchill 2009-09-16 09:03:30 +00:00
parent e4fb98bd02
commit 13109f8a1f
1 changed files with 2 additions and 5 deletions

View File

@ -100,10 +100,7 @@ SchedulerPlugin = Ext.extend(Deluge.Plugin, {
onEnable: function() { onEnable: function() {
this.prefsPage = new SchedulerPreferences(); this.prefsPage = new SchedulerPreferences();
Deluge.Preferences.addPage(this.prefsPage); this.prefsPage = Deluge.Preferences.addPage(this.prefsPage);
} }
}); });
new SchedulerPlugin();
(function() {
var plugin = new SchedulerPlugin();
})();