From 1f37f848fca214d65b491184b43f7f215a58726d Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Thu, 17 Sep 2015 08:59:38 +0200 Subject: [PATCH] fix another version check --- js/inputbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/inputbar.js b/js/inputbar.js index 8553c07..701b4b9 100644 --- a/js/inputbar.js +++ b/js/inputbar.js @@ -118,7 +118,7 @@ weechat.directive('inputBar', function() { } // New style clearing requires this, old does not - if (parseInt(models.version.charAt(0)) >= 1) { + if (models.version[0] >= 1) { connection.sendHotlistClear(); }