mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 14:05:56 +00:00
add AppBase as a shared ancestor for main and prefs app objects
remove event.observe stuff from startup, unneeded
This commit is contained in:
@@ -123,7 +123,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"],
|
||||
postCreate: function() {
|
||||
this.connect(this.model, "onChange", "updateCounter");
|
||||
this.connect(this, "_expandNode", function() {
|
||||
this.hideRead(getInitParam("hide_read_feeds"), getInitParam("hide_read_shows_special"));
|
||||
this.hideRead(App.getInitParam("hide_read_feeds"), App.getInitParam("hide_read_shows_special"));
|
||||
});
|
||||
|
||||
this.inherited(arguments);
|
||||
|
||||
Reference in New Issue
Block a user