chore: cloudcmd: actions: lint ☘️

This commit is contained in:
coderaiser 2024-11-01 19:00:41 +00:00
parent 59024eea98
commit 06cf0eebce
2 changed files with 5 additions and 3 deletions

View file

@ -59,9 +59,10 @@ function CloudCmdProto(DOM) {
this.prefixSocket = '';
this.prefixURL = '';
var bodyStyle = getComputedStyle(document.body);
this.MIN_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue("--min-one-panel-width");
this.MOBILE_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--mobile-max-width')
const bodyStyle = getComputedStyle(document.body);
this.MIN_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--min-one-panel-width');
this.MOBILE_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--mobile-max-width');
this.HOST = location.origin || location.protocol + '//' + location.host;