1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-02 17:18:31 +00:00

3.5.156. Feed Cards. CSS tweaks. Fixed Golden Kappa's tooltip. Not much here.

This commit is contained in:
SirStendec 2016-04-11 18:57:25 -04:00
parent 9ead660f89
commit 21d1ce0d8f
12 changed files with 130 additions and 127 deletions

View file

@ -406,13 +406,13 @@ FFZ.prototype._ui_change_page = function(view, inner, menu, container, page) {
var subpages = [];
for(var key in data.pages) {
var subpage = data.pages[key];
try {
if ( ! subpage || (subpage.hasOwnProperty("visible") && (!subpage.visible || (typeof subpage.visible === "function" && !subpage.visible.call(this, view)))) )
continue;
} catch(err) {
this.error("menu_pages " + page + " subpage " + key + " visible: " + err);
continue;
}
try {
if ( ! subpage || (subpage.hasOwnProperty("visible") && (!subpage.visible || (typeof subpage.visible == "function" && !subpage.visible.call(this, view)))) )
continue;
} catch(err) {
this.error("menu_pages " + page + " subpage " + key + " visible: " + err);
continue;
}
subpages.push([subpage.sort_order || 0, key, subpage]);
}