summaryrefslogtreecommitdiff
path: root/www/js/LogCtrl.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-08-08 09:39:33 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-08-08 09:39:33 -0400
commit0894082388fabce415b06a0cfe1ea448684818bd (patch)
tree44100d4126da1328cb55401cc5a9bf5d01c43259 /www/js/LogCtrl.js
parentac159b6469107345fc313a70374b655e09f63522 (diff)
Reversed log order so you can see latest on top
Diffstat (limited to 'www/js/LogCtrl.js')
-rw-r--r--www/js/LogCtrl.js3
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) {