From b12b167116b757e1a945c05f45991d0ed385aed3 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 16 Feb 2012 11:39:25 -0800 Subject: Fixing the load document event being fired twice. Signed-off-by: Valerio Virgillito --- js/io/document/html-document.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/io') diff --git a/js/io/document/html-document.js b/js/io/document/html-document.js index 88cfec67..f4757438 100755 --- a/js/io/document/html-document.js +++ b/js/io/document/html-document.js @@ -455,7 +455,8 @@ exports.HTMLDocument = Montage.create(BaseDocument, { } } - this.callback(this); + // Remving this callback and using the callback from the css load + // this.callback(this); } }, -- cgit v1.2.3