diff options
Diffstat (limited to 'docs/assets')
| -rw-r--r-- | docs/assets/js/_src/customizer.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/assets/js/_src/customizer.js b/docs/assets/js/_src/customizer.js index d9c1f09eb..4fc3c7cbc 100644 --- a/docs/assets/js/_src/customizer.js +++ b/docs/assets/js/_src/customizer.js @@ -80,8 +80,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 .error(function (err) { try { showError('<strong>Ruh roh!</strong> Could not save gist file, configuration not saved.', err) - } - catch (sameErr) { + } catch (sameErr) { // deliberately ignore the error } callback('<none>', '<none>') @@ -416,8 +415,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 // than "blob:", which means it has been polyfilled and is not supported by // this browser. failback() - } - else { + } else { $('<img>') .on('load', function () { $compileBtn.prop('disabled', false) |
