You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cd...@apache.org on 2005/10/28 14:07:28 UTC
svn commit: r329184 -
/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
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/'))
);
}