Permalink
Browse files

Triple equals OCD.

  • Loading branch information...
1 parent 6427d31 commit 2a46d266f9f170f86a0e0cb51a8096f8496cef12 @andrewdavey committed Dec 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/client/vogue-client.js
@@ -230,7 +230,7 @@
scripts = document.getElementsByTagName("script");
for (var i=0; i < scripts.length; i++) {
src = scripts[i].getAttribute("src");
- if (src.slice(-15) == 'vogue-client.js') break;
+ if (src.slice(-15) === 'vogue-client.js') break;
}
rootUrl = src.match(/^https?\:\/\/(.*?)\//)[0];
// There is an optional base argument, that can be used.

0 comments on commit 2a46d26

Please sign in to comment.