kind of got the modals working - Ben will finish this

This commit is contained in:
Quincy Larson
2015-08-22 12:10:08 -07:00
parent cd4823de76
commit 73eb6ec2d1
4 changed files with 8 additions and 63 deletions

View File

@@ -330,7 +330,6 @@ codeStorage.isAlive = function() {
(val && val.length > 0);
}
codeStorage.updateStorage = function(){
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);