Browse Source

Reverted chrome frame for Linux users

Closes #1452
master
Igor Zhukov 7 years ago
parent
commit
9ce6996f39
  1. 3
      app/js/background.js

3
app/js/background.js

@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
*/
chrome.app.runtime.onLaunched.addListener(function (launchData) {
var isWindows = typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.match(/windows/i) ? true : false
chrome.app.window.create('../index.html', {
id: 'webogram-chat',
innerBounds: {
@ -14,6 +15,6 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) { @@ -14,6 +15,6 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
},
minWidth: 320,
minHeight: 400,
frame: { color: "#5682a3" }
frame: isWindows ? { color: '#5682a3' } : 'chrome'
})
})

Loading…
Cancel
Save