comment out a line that was causing JavaScript errors

This commit is contained in:
Quincy Larson
2015-08-22 11:42:27 -07:00
parent e9050290eb
commit cd4823de76

View File

@ -200,7 +200,7 @@ codeStorage.isAlive = function() {
(val && val.length > 0); (val && val.length > 0);
} }
codeStorage.updateStorage = function(){ 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) { if(typeof(Storage) !== undefined) {
var value = editor.getValue(); var value = editor.getValue();
localStorage.setItem(codeStorage.keyValue, value); localStorage.setItem(codeStorage.keyValue, value);