diff options
| -rw-r--r-- | www/js/LogCtrl.js | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |
