Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
helmus committed Oct 9, 2017
1 parent b8e906e commit 479c5f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jira-plugin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"permissions": [
"activeTab",
"declarativeContent",
"*://github.com/",
"https://github.com/",
"storage",
"cookies"
],
Expand Down
2 changes: 1 addition & 1 deletion jira-plugin/options/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
domains: [
'*://github.com/*'
'https://github.com/'
],
instanceUrl: '',
v15upgrade: false
Expand Down
2 changes: 1 addition & 1 deletion jira-plugin/options/options.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function ConfigPage(props) {
<div>
{(() => {
if (!props.v15upgrade) {
return (<label className='upgradeWarning'>Please click save to activate the new ( reduced ) permissions !
return (<label className='upgradeWarning'>If you recently upgraded the extension make sure to click Save to activate the new reduced permissions !
<br/><br/></label>);
}
})()}
Expand Down
2 changes: 1 addition & 1 deletion jira-plugin/src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const executeScript = promisifyChrome(chrome.tabs, 'executeScript');

chrome.browserAction.onClicked.addListener(async function (tab) {
const config = await storageGet(defaultConfig);
if (!config.instanceUrl) {
if (!config.instanceUrl || !config.v15upgrade) {
chrome.runtime.openOptionsPage();
return;
}
Expand Down

0 comments on commit 479c5f8

Please sign in to comment.