Update onViewPage helper function to properly send the current view

This commit is contained in:
HighImKevin
2026-01-28 17:43:19 -05:00
parent e8f8509aa7
commit 936f2f9cef
+3 -1
View File
@@ -34,9 +34,11 @@
ERR('Error in original onViewShow handler:', err);
}
}
const view = getCurrentView() ?? args[0];
// Call our registered handlers
notifyHandlers(args[0], args[1], window.location.hash);
notifyHandlers(view, args[1], window.location.hash);
};
LOG('Hooked into Emby.Page.onViewShow');