Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Commit

Permalink
Fix first run regression
Browse files Browse the repository at this point in the history
Fixed a regression caused by the last commit.
  • Loading branch information
Joshua Smith committed May 7, 2013
1 parent 9b630b6 commit a5cb337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/firetext.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ function docsInFolder(callback) {
cursor.onerror = function() {
if (cursor.error.name == 'TypeMismatchError') {
saveFile('firetext','.temp','A temp file! You should not be seeing this. If you see it, please report it to <a href="https://github.com/codexa/firetext/issues/" target="_blank">us</a>.', false, function() {
deleteFile('firetext.temp');
});
updateDocLists();
deleteFile('firetext.temp');
return;
} else if (cursor.error.name == 'SecurityError') {
alert('Please allow Firetext to access your SD card.');
Expand Down

0 comments on commit a5cb337

Please sign in to comment.