allow to open specific route in fullscreen mode

feature/default_network_editable
brunobar79 7 years ago
parent 451c05bcbb
commit 317c3084df
  1. 7
      app/scripts/platforms/extension.js

@ -17,8 +17,11 @@ class ExtensionPlatform {
return extension.runtime.getManifest().version
}
openExtensionInBrowser () {
const extensionURL = extension.runtime.getURL('home.html')
openExtensionInBrowser (route = null) {
let extensionURL = extension.runtime.getURL('home.html')
if (route) {
extensionURL += `#${route}`
}
this.openWindow({ url: extensionURL })
}

Loading…
Cancel
Save