|
|
@ -843,7 +843,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', |
|
|
|
// Save setting for playing sound on notification
|
|
|
|
// Save setting for playing sound on notification
|
|
|
|
$store.bind($scope, "soundnotification", false); |
|
|
|
$store.bind($scope, "soundnotification", false); |
|
|
|
// Save setting for font family
|
|
|
|
// Save setting for font family
|
|
|
|
$store.bind($scope, "fontfamily", $('.monospace').css('font-family')); |
|
|
|
$store.bind($scope, "fontfamily", angular.element('.monospace').css('font-family')); |
|
|
|
|
|
|
|
|
|
|
|
// Save setting for displaying embeds in rootScope so it can be used from service
|
|
|
|
// Save setting for displaying embeds in rootScope so it can be used from service
|
|
|
|
$rootScope.visible = $scope.noembed === false; |
|
|
|
$rootScope.visible = $scope.noembed === false; |
|
|
@ -894,7 +894,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', |
|
|
|
|
|
|
|
|
|
|
|
// Update font family when changed
|
|
|
|
// Update font family when changed
|
|
|
|
$scope.$watch('fontfamily', function() { |
|
|
|
$scope.$watch('fontfamily', function() { |
|
|
|
$('.monospace').css('font-family', $scope.fontfamily); |
|
|
|
angular.element('.monospace').css('font-family', $scope.fontfamily); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
$scope.setActiveBuffer = function(bufferId, key) { |
|
|
|
$scope.setActiveBuffer = function(bufferId, key) { |
|
|
|