mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Update onViewPage helper function to properly send the current view
This commit is contained in:
+3
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user