Эх сурвалжийг харах

Removed trailing white space terds

John Dewey 12 жил өмнө
parent
commit
82744aa8ee
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      vnc_auto.html

+ 3 - 3
vnc_auto.html

@@ -2,7 +2,7 @@
 <html>
 <html>
 <head>
 <head>
 
 
-    <!-- 
+    <!--
     noVNC example: simple example using default UI
     noVNC example: simple example using default UI
     Copyright (C) 2012 Joel Martin
     Copyright (C) 2012 Joel Martin
     Copyright (C) 2013 Samuel Mannehed for Cendio AB
     Copyright (C) 2013 Samuel Mannehed for Cendio AB
@@ -128,10 +128,10 @@
             // if port == 80 (or 443) then it won't be present and should be
             // if port == 80 (or 443) then it won't be present and should be
             // set manually
             // set manually
             if (!port) {
             if (!port) {
-                if (window.location.protocol.substring(0,5) == 'https') {            
+                if (window.location.protocol.substring(0,5) == 'https') {
                     port = 443;
                     port = 443;
                 }
                 }
-                else if (window.location.protocol.substring(0,4) == 'http') {            
+                else if (window.location.protocol.substring(0,4) == 'http') {
                     port = 80;
                     port = 80;
                 }
                 }
             }
             }