JS Error when No Admin Bar
-
When I have the plugin activated, and am logged in, but I have my profile set to not show the admin bar on the front end, I get the following JS error:
Uncaught TypeError: Cannot set property 'innerHTML' of null at replaceFileNames (replace.js?ver=0.4.5:3) at HTMLDocument.<anonymous> (replace.js?ver=0.4.5:8) at k (jquery.js?ver=2.1.0:24) at Object.fireWith [as resolveWith] (jquery.js?ver=2.1.0:24) at Function.ready (jquery.js?ver=2.1.0:24) at HTMLDocument.g (jquery.js?ver=2.1.0:14)
I’ve written a gist which tests for #included-files-list and returns out if it’s null.
https://gist.github.com/taupecat/ef446c53f95fee2af82a0b06efe6c44e
Thanks for a great plugin.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘JS Error when No Admin Bar’ is closed to new replies.