From 0bbf3bc5b58ecd5a3221d7fac76f5fa7f91d109d Mon Sep 17 00:00:00 2001 From: Brychan Dempsey Date: Sat, 5 Jun 2021 18:14:13 +1200 Subject: [PATCH] Moved load function --- Wiki.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Wiki.html b/Wiki.html index 7b22489..781bc0b 100644 --- a/Wiki.html +++ b/Wiki.html @@ -6,10 +6,12 @@ $iFrameContents.find('html').replaceWith($entryContent); // Next restore the style-sheets var stylesheet = $('iframe').contents().find('link[rel="stylesheet"]').prependTo($iFrameContents.find('div.file-view')); - $('iframe').load( function(){ + + + } + $('iframe').load( function(){ console.log("Cleaning content"); cleanContent(); - }); - } + }); \ No newline at end of file