diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/js/_src/customizer.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/assets/js/_src/customizer.js b/docs/assets/js/_src/customizer.js index 06338b1ef..c2dcba73f 100644 --- a/docs/assets/js/_src/customizer.js +++ b/docs/assets/js/_src/customizer.js @@ -66,7 +66,12 @@ window.onload = function () { // wait for load in a dumb way because B-0 callback(result.html_url, newUrl) }) .error(function (err) { - showError('<strong>Ruh roh!</strong> Could not save gist file, configuration not saved.', err) + try { + showError('<strong>Ruh roh!</strong> Could not save gist file, configuration not saved.', err) + } + catch (sameErr) { + // deliberately ignore the error + } callback('<none>', '<none>') }) } |
