From 0cdc703f13b4d5d1b3648d3fed07f5ac1b9ba05a Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 19 Dec 2014 14:04:17 -0500 Subject: [PATCH] #423: code review --- src/js/contentscript-start.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/contentscript-start.js b/src/js/contentscript-start.js index a85634836..6106c875d 100644 --- a/src/js/contentscript-start.js +++ b/src/js/contentscript-start.js @@ -34,13 +34,13 @@ /******************************************************************************/ -// Because Safari -if ( vAPI.canExecuteContentScript() !== true ) { +// Because in case +if ( !vAPI ) { return; } -// Because in case -if ( !vAPI ) { +// Because Safari +if ( vAPI.canExecuteContentScript() !== true ) { return; }