From 9c8fecc507f10bcaf8a0e78cbfabd151c31ad2aa Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 16 Mar 2016 09:47:10 -0400 Subject: [PATCH] #1443: forgot to revisit this instance of vAPI.messaging --- platform/chromium/options_ui.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/platform/chromium/options_ui.js b/platform/chromium/options_ui.js index 8a7a03f55..1e7f552b1 100644 --- a/platform/chromium/options_ui.js +++ b/platform/chromium/options_ui.js @@ -27,15 +27,17 @@ 'use strict'; -var messager = vAPI.messaging.channel('_open'); -messager.send({ - what: 'gotoURL', - details: { - url: 'dashboard.html', - select: true, - index: -1 +vAPI.messaging.send( + 'default', + { + what: 'gotoURL', + details: { + url: 'dashboard.html', + select: true, + index: -1 + } } -}); +); window.close(); /******************************************************************************/