From 0c26449e8e7c2be7d63082ab400c52facb882b9b Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Wed, 16 Oct 2013 15:45:38 +0200 Subject: [PATCH] story onlyUnread setting in localStorage --- js/websockets.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/websockets.js b/js/websockets.js index 62b378f..965e502 100644 --- a/js/websockets.js +++ b/js/websockets.js @@ -488,6 +488,9 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', $store.bind($scope, "lines", "40"); // TODO checkbox for saving password or not? // $scope.password = ""; + // + + $store.bind($scope, "onlyUnread", false); $scope.setActiveBuffer = function(key) {