From 055a5f54eb6908f95dad9ec2053a5746b7f629b9 Mon Sep 17 00:00:00 2001 From: Gautier P Date: Tue, 23 Mar 2021 11:05:46 +0100 Subject: [PATCH] Do not display whatsnew for new users --- js/WhatsNew.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/WhatsNew.js b/js/WhatsNew.js index 2010b2d..3dbad92 100644 --- a/js/WhatsNew.js +++ b/js/WhatsNew.js @@ -26,7 +26,7 @@ BR.WhatsNew = { var currentVersion = localStorage.getItem('changelogVersion'); - return !currentVersion || currentVersion < this.getLatestVersion(); + return currentVersion && currentVersion < this.getLatestVersion(); }, prepare: function (newOnly) {