From e2cabe4971927e3dbbbda4c81ae8f74abdee2d15 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 29 May 2014 07:35:22 +0300 Subject: Minor style tweaks. --- docs/assets/js/_src/customizer.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs') 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('Ruh roh! Could not save gist file, configuration not saved.', err) - } - catch (sameErr) { + } catch (sameErr) { // deliberately ignore the error } callback('', '') @@ -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 { $('') .on('load', function () { $compileBtn.prop('disabled', false) -- cgit v1.2.3