From 65cb46c845a57b3814a33ec1ce5f7d06446c50cb 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/options_ui.html | 8 +++++++- platform/chromium/vapi-common.js | 22 ---------------------- 2 files changed, 7 insertions(+), 23 deletions(-) diff --git a/platform/chromium/options_ui.html b/platform/chromium/options_ui.html index 365ca87e9..8fefb31b0 100644 --- a/platform/chromium/options_ui.html +++ b/platform/chromium/options_ui.html @@ -1,3 +1,9 @@ + - + + + + + + \ No newline at end of file diff --git a/platform/chromium/vapi-common.js b/platform/chromium/vapi-common.js index 939c7eda1..094f55a29 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(); -} - -})(); - /******************************************************************************/ /******************************************************************************/