From 3858c0ff0c4d6c62ebd05c9ed02efe7ec1741b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Tue, 21 Jul 2020 14:00:32 +0200 Subject: [PATCH] Remove useless linksForCordova filter We deprecated the cordova app long ago --- js/filters.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/js/filters.js b/js/filters.js index 193abcf..83d0f59 100644 --- a/js/filters.js +++ b/js/filters.js @@ -146,17 +146,6 @@ weechat.filter('DOMfilter', ['$filter', '$sce', function($filter, $sce) { }; }]); -// This is used by the cordova app to change link targets to "window.open(, '_system')" -// so that they're opened in a browser window and don't navigate away from Glowing Bear -weechat.filter('linksForCordova', ['$sce', function($sce) { - return function(text) { - // XXX TODO this needs to be improved - text = text.replace(/