From 72a3819c08665ae2fdda237eb7242ee1de284b29 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 12 Feb 2015 12:25:19 -0500 Subject: [PATCH] #685: code review --- platform/chromium/vapi-common.js | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/platform/chromium/vapi-common.js b/platform/chromium/vapi-common.js index 939c7ed..094f55a 100644 --- a/platform/chromium/vapi-common.js +++ b/platform/chromium/vapi-common.js @@ -23,28 +23,6 @@ /* global self */ -/******************************************************************************/ - -(function() { - -'use strict'; - -var fileName = 'options_ui.html'; - -if ( location.pathname.slice(-fileName.length) === fileName ) { - var messager = vAPI.messaging.channel('_open'); - messager.send({ - what: 'gotoURL', - details: { - url: 'dashboard.html', - index: -1 - } - }); - window.close(); -} - -})(); - /******************************************************************************/ /******************************************************************************/