Browse Source

Open setup in a new tab. Fixes #236

pull/242/head
brantje 1 year ago
parent
commit
b42b53518d
No account linked to committer's email address

+ 2
- 1
css/browser_action.css View File

@@ -538,7 +538,8 @@ body {
font-family: 'Roboto', sans-serif;
overflow-x: hidden; }
body.setup {
width: 100%; }
width: 100%;
min-width: 350px; }

header {
width: 100%;

+ 1
- 1
css/browser_action.css.map
File diff suppressed because it is too large
View File


+ 5
- 0
js/background/service/background.js View File

@@ -17,6 +17,11 @@ var background = (function () {

});

API.runtime.onInstalled.addListener(function () {
var url = 'chrome-extension://' + API.runtime.id + '/html/browser_action/browser_action.html';
API.tabs.create({url: url});
});

var master_password = null;

function getMasterPasswordSet() {

+ 1
- 3
js/ui/popup/controllers/setup.js View File

@@ -192,9 +192,7 @@
}).then(function () {
setTimeout(function () {
$rootScope.setup = false;
$rootScope.$broadcast('showHeader');
window.location = '#!/';
API.runtime.sendMessage(API.runtime.id, {
API.runtime.sendMessage(API.runtime.id, {
method: "closeSetupTab"
});
$scope.saving = false;

+ 1
- 0
style/browser_action.scss View File

@@ -11,6 +11,7 @@ $sidebarWidth: 250px;
body {
&.setup{
width: 100%;
min-width: 350px;
}
width: 450px;
min-height: 350px;

Loading…
Cancel
Save