From a65b63ca85f58270fb3a65dca4f27e2a4e28c434 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 19 Jan 2015 10:47:37 -0700 Subject: [PATCH] Fix equality (change to strict) --- platform/safari/vapi-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/safari/vapi-client.js b/platform/safari/vapi-client.js index 958e8dc64..46b9d385b 100644 --- a/platform/safari/vapi-client.js +++ b/platform/safari/vapi-client.js @@ -200,7 +200,7 @@ var frameId = window === window.top ? 0 : Date.now() % 1E5; var parentFrameId = frameId ? 0 : -1; var linkHelper = document.createElement('a'); var onBeforeLoad = function(e, details) { - if ( e.url && e.url.lastIndexOf('data:', 0) == 0 ) { + if ( e.url && e.url.lastIndexOf('data:', 0) === 0 ) { return; }