In Popups.addCSS any CSS that is added to the page is saved as
Popups.addedCSS[href] = 1;
Then in restorePage it attempts to remove the CSS with the following;
$('link[href='+ Popups.addedCSS[i] + ']').remove();
where 'i' is an iterator over Popups.addedCSS this is always evaluated as the following;
$('link[href='1'].remove();
Attached patch resolves the issue for me.
| Comment | File | Size | Author |
|---|---|---|---|
| popups.diff | 547 bytes | jgraham |
Comments
Comment #1
mattcasey commentedThis patch works for me.. all the extra CSS files mess up my theme in IE, but this at least returns it to normal once the popup disappears.