Fixed layout

This commit is contained in:
Ben Arc
2021-04-20 15:42:24 +01:00
parent 8d6253bf5d
commit d773eb84cf
2 changed files with 5 additions and 4 deletions

View File

@@ -514,13 +514,13 @@
openCopilotCompose: function (copilot_id) {
this.getCopilot(copilot_id)
let params =
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1200,height=644,right=10'
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1200,height=644,left=410,top=100'
open('../copilot/cp/', '_blank', params)
},
openCopilotPanel: function (copilot_id) {
this.getCopilot(copilot_id)
let params =
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=400,height=500,left=10'
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=400,height=500,left=10,top=100'
open('../copilot/pn/', '_blank', params)
},
deleteCopilotLink: function (chargeId) {

View File

@@ -119,9 +119,10 @@
}
},
openCompose: function () {
let params = `scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1722,height=972,left=200,top=200`
let params =
'scrollbars=no, resizable=no,status=no,location=no,toolbar=no,menubar=no,width=1200,height=644,left=410,top=100'
open('../copilot/cp/', 'test', params)
open('./copilot/cp/', 'test', params)
},
animationBTN: function (name) {
this.connection.send(name)