From 8ba2b1acf6410b145be18293cf979ff1c75fa775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Wed, 19 Apr 2017 14:55:48 +0200 Subject: [PATCH] cordova integration: small fixups --- js/filters.js | 7 +++---- js/glowingbear.js | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/js/filters.js b/js/filters.js index 5dd3a7b..e412cd2 100644 --- a/js/filters.js +++ b/js/filters.js @@ -137,10 +137,9 @@ weechat.filter('DOMfilter', ['$filter', '$sce', function($filter, $sce) { weechat.filter('linksForCordova', ['$sce', function($sce) { return function(text) { - if (window.cordova !== undefined) { - text = text.replace(/