forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdupoiri...@apache.org
Subject svn commit: r329184 - /forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
Date Fri, 28 Oct 2005 12:07:28 GMT
Author: cdupoirieux
Date: Fri Oct 28 05:07:18 2005
New Revision: 329184

URL: http://svn.apache.org/viewcvs?rev=329184&view=rev
Log:
Double pipes for a logical OR

Modified:
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js?rev=329184&r1=329183&r2=329184&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js Fri Oct 28 05:07:18
2005
@@ -61,7 +61,7 @@
 
   return( (typeof(href) != 'undefined') &&
           (href.substr) &&
-          (startsWith(href, 'http://127.0.0.1:8888/') | startsWith(href, 'http://localhost:8888/'))
+          (startsWith(href, 'http://127.0.0.1:8888/') || startsWith(href, 'http://localhost:8888/'))
         );
 }
 



Mime
View raw message