mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-29 08:41:11 +13:00
#685: code review
This commit is contained in:
parent
32ad9420de
commit
72a3819c08
1 changed files with 0 additions and 22 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
/******************************************************************************/
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
Loading…
Reference in a new issue