Dealing with Lint issues
This commit is contained in:
parent
1f6913bb27
commit
9edae1da09
|
|
@ -9,11 +9,11 @@
|
|||
<ul>
|
||||
<li>
|
||||
<label for="noVNC_setting_host">Host:</label>
|
||||
<input id="noVNC_setting_host"></input>
|
||||
<input id="noVNC_setting_host">
|
||||
</li>
|
||||
<li>
|
||||
<label for="noVNC_setting_port">Port:</label>
|
||||
<input id="noVNC_setting_port" value="5701"></input>
|
||||
<input id="noVNC_setting_port" value="5701">
|
||||
</li>
|
||||
<li>
|
||||
<label for="noVNC_setting_path">Path:</label>
|
||||
|
|
|
|||
|
|
@ -1003,7 +1003,7 @@ const UI = {
|
|||
}
|
||||
if (UI.bodyHeightBrowserResize === 0 ||
|
||||
OldResolutionEqual) {
|
||||
if((width != 0) && (height != 0)) {
|
||||
if ((width != 0) && (height != 0)) {
|
||||
window.resizeBy(width - bodyWidth, height - bodyHeight);
|
||||
UI.bodyWidthBrowserResize = width;
|
||||
UI.bodyHeightBrowserResize = height;
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@ export default class RFB extends EventTargetMixin {
|
|||
get resizeBrowser() { return this._resizeBrowser; }
|
||||
set resizeBrowser(void_) {
|
||||
this._resizeBrowser = void_;
|
||||
if(this._resizeBrowser && (this._rfbConnectionState === 'connected')){
|
||||
if (this._resizeBrowser && (this._rfbConnectionState === 'connected')) {
|
||||
this._resizeBrowser(this._fbWidth, this._fbHeight);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue