diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index 3ae08fe46d..8b168bac45 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -69,11 +69,11 @@ module.exports = class SettingsTab extends ViewPlugin { // Gist settings const token = this.config.get('settings/gist-access-token') - const gistAccessToken = yo`` + const gistAccessToken = yo`` if (token) gistAccessToken.value = token const removeToken = () => { self.config.set('settings/gist-access-token', ''); gistAccessToken.value = ''; tooltip('Access token removed') } const saveToken = () => { this.config.set('settings/gist-access-token', gistAccessToken.value); tooltip('Access token saved') } - const gistAddToken = yo` saveToken()} value="Save" type="button">` + const gistAddToken = yo` saveToken()} value="Save" type="button">` const gistRemoveToken = yo` removeToken()}" type="button">` this._view.gistToken = yo`