From 084924935eaed337aaa015882e08897ba9d34d43 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Tue, 2 Apr 2013 17:04:35 +0200 Subject: [PATCH] Dropped window in favor of var to increase readability, usability and prevent IE8 from crashing. --- js/questionset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index e848d7e..e4980a2 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -10,7 +10,7 @@ // // Events provided: // - h5pQuestionSetFinished: Triggered when a question is finished. (User presses Finish-button) -window.H5P = window.H5P || {}; +var H5P = H5P || {}; H5P.QuestionSet = function (options, contentId) { if ( !(this instanceof H5P.QuestionSet) )