From cd4823de76686a4b12948f070f5f0113ea01413f Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Sat, 22 Aug 2015 11:42:27 -0700 Subject: [PATCH] comment out a line that was causing JavaScript errors --- public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js b/public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js index 658fbee226..137425f318 100644 --- a/public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js +++ b/public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js @@ -200,7 +200,7 @@ codeStorage.isAlive = function() { (val && val.length > 0); } codeStorage.updateStorage = function(){ - document.getElementById('scroll-locker').dispatchEvent(new CustomEvent('previewUpdateSpy', {'detail': $('.scroll-locker').scrollTop()})); + //document.getElementById('scroll-locker').dispatchEvent(new CustomEvent('previewUpdateSpy', {'detail': $('.scroll-locker').scrollTop()})); if(typeof(Storage) !== undefined) { var value = editor.getValue(); localStorage.setItem(codeStorage.keyValue, value);