mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
bypass angular sanitization, doing it with jsoup and allowing embedded videos
add html content to dom only when entry is opened
This commit is contained in:
@@ -155,7 +155,13 @@ module.controller('FeedListCtrl', function($scope, $routeParams, $http,
|
||||
}
|
||||
};
|
||||
|
||||
$scope.isOpen = false
|
||||
$scope.toggle = function(entry) {
|
||||
if ($scope.current != entry) {
|
||||
$scope.isOpen = true;
|
||||
} else {
|
||||
$scope.isOpen = !$scope.isOpen;
|
||||
}
|
||||
$scope.current = entry;
|
||||
$scope.mark(entry, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user