Skip to content

Commit 17240bb

Browse files
Fix newlines
1 parent 0d41738 commit 17240bb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

webroot/js/toolbar-app.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,11 @@ Toolbar.prototype = {
4949
if (!window.localStorage) {
5050
this._localStorageAvailable = false;
5151
} else {
52-
try
53-
{
52+
try {
5453
window.localStorage.setItem('testKey', '1');
5554
window.localStorage.removeItem('testKey');
5655
this._localStorageAvailable = true;
57-
}
58-
catch (error)
59-
{
56+
} catch (error) {
6057
this._localStorageAvailable = false;
6158
}
6259
}

0 commit comments

Comments
 (0)