From 89fda125972f744546617547e4fcc03250c1369b Mon Sep 17 00:00:00 2001 From: Benjamin Hutchins Date: Wed, 29 Jan 2014 20:56:14 -0500 Subject: [PATCH] Removed essentially useless "Visit website" iframe and changed it to a regular link. Improves fix qbittorrent/qBittorrent#1343 --- src/webui/html/index.html | 2 +- src/webui/scripts/mocha-init.js | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/webui/html/index.html b/src/webui/html/index.html index 706f5691c..44f0cae9c 100644 --- a/src/webui/html/index.html +++ b/src/webui/html/index.html @@ -61,7 +61,7 @@ _(&Help) diff --git a/src/webui/scripts/mocha-init.js b/src/webui/scripts/mocha-init.js index 0506952e1..827e05c9c 100644 --- a/src/webui/scripts/mocha-init.js +++ b/src/webui/scripts/mocha-init.js @@ -234,18 +234,6 @@ initializeWindows = function(){ } } - addClickEvent('site', function(e){ - new Event(e).stop(); - new MochaUI.Window({ - id: 'sitePage', - title: 'qBittorrent Website', - loadMethod: 'iframe', - contentURL: 'http://www.qbittorrent.org/', - width: 650, - height: 400 - }); - }); - addClickEvent('about', function(e){ new Event(e).stop(); new MochaUI.Window({