From 0894082388fabce415b06a0cfe1ea448684818bd Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Sat, 8 Aug 2015 09:39:33 -0400 Subject: Reversed log order so you can see latest on top --- www/js/LogCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/LogCtrl.js') diff --git a/www/js/LogCtrl.js b/www/js/LogCtrl.js index d30c4a62..c86b1aba 100644 --- a/www/js/LogCtrl.js +++ b/www/js/LogCtrl.js @@ -105,7 +105,8 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo }; $fileLogger.getLogfile().then(function (l) { - $scope.zmLog.logString = l; + $scope.zmLog.logString = l.split('\n').reverse().join('\n'); + //console.log ("LOGS" + logstring); }, function (error) { -- cgit v1.2.3