|
|
|
@ -316,9 +316,11 @@ var run = function() { |
|
|
|
|
var FILE_SCROLL_DELTA = 300; |
|
|
|
|
|
|
|
|
|
$('.newFile').on('click', function() { |
|
|
|
|
untitledCount = ''; |
|
|
|
|
while (window.localStorage[SOL_CACHE_UNTITLED + untitledCount]) |
|
|
|
|
untitledCount = (untitledCount - 0) + 1; |
|
|
|
|
SOL_CACHE_FILE = SOL_CACHE_UNTITLED + untitledCount; |
|
|
|
|
sessions[SOL_CACHE_FILE] = null; |
|
|
|
|
window.localStorage[SOL_CACHE_FILE] = ''; |
|
|
|
|
updateFiles(); |
|
|
|
|
|
|
|
|
|