mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Fixed the iframe problems
This commit is contained in:
parent
f4e04be9da
commit
115f7d6b51
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ function makeCSSManager(emptyStylesheetTitle, top)
|
|||
function getSheetByTitle(title, top)
|
||||
{
|
||||
if(top)
|
||||
var allSheets = window.top.document.styleSheets;
|
||||
var allSheets = window.parent.parent.document.styleSheets;
|
||||
else
|
||||
var allSheets = document.styleSheets;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue