From 0d5aa6cf28d4d9253776c126bf2f847b003ff1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Sun, 24 Jun 2018 20:23:11 +0200 Subject: [PATCH] Fix #70 --- core_js/log.js | 5 +++++ manifest.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/core_js/log.js b/core_js/log.js index 625b6fe..46b214e 100644 --- a/core_js/log.js +++ b/core_js/log.js @@ -27,6 +27,11 @@ function getLog() core(function (ref){ log = ref.getData('log'); + // Sort the log | issue #70 + log.log.sort(function(a,b) { + return b.timestamp - a.timestamp; + }); + var length = Object.keys(log.log).length; var row; if(length != 0) diff --git a/manifest.json b/manifest.json index cf35d79..f3e1ec5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "ClearURLs", - "version": "1.3.3.2", + "version": "1.3.3.3", "author": "Kevin R.", "description": "Remove tracking elements form URLs.", "homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",