Fix regression in r65384 with document.write() compatibility
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 21 Apr 2010 13:53:59 +0000 (13:53 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 21 Apr 2010 13:53:59 +0000 (13:53 +0000)
skins/common/preview.js

index ea87655..7ad3df0 100644 (file)
@@ -26,7 +26,7 @@ function doLivePreview( e ) {
                target = window.location.href;
        }
        
-       page.load( target, postData,
+       page.load( target + ' ' + copySelector, postData,
                function() {
                        
                        for( var i=0; i<copyElements.length; ++i) {