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

Commit

Permalink
Fix offline errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Smith committed Jun 12, 2014
1 parent 3720c48 commit b229ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/firetext.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ firetext.initialized = new CustomEvent('firetext.initialized');
firetext.isInitialized = false;
var html = document.getElementsByTagName('html')[0], head = document.getElementsByTagName("head")[0];
var loadSpinner, editor, toolbar, toolbarInterval, editWindow, doc, editState, rawEditor, tabRaw, tabDesign;
var deviceType, fileChanged, saveTimeout, saving, urls, version = '0.3.2.1';
var deviceType, fileChanged, saveTimeout, saving, urls={}, version = '0.3.2.1';
var bold, boldCheckbox, italic, italicCheckbox, justifySelect, strikethrough, strikethroughCheckbox;
var underline, underlineCheckbox;
var locationLegend, locationSelect, locationDevice, locationDropbox;
Expand Down Expand Up @@ -1064,7 +1064,7 @@ function processActions(eventAttribute, target) {
}

// Fix for empty locations
if(browseLocation==''){
if(!browseLocation || browseLocation==''){
alert('This link is not functional...');
return;
}
Expand Down

0 comments on commit b229ae7

Please sign in to comment.