From e2b5642d569839ad298f6d2e01292790d7affb65 Mon Sep 17 00:00:00 2001 From: Kuldeep M Date: Fri, 24 May 2019 15:07:19 +0100 Subject: [PATCH] [refactor] remove unnecessary return statement --- js/date.js | 1 - js/version.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/js/date.js b/js/date.js index 6a06a940..f6f65f21 100644 --- a/js/date.js +++ b/js/date.js @@ -72,7 +72,6 @@ var date = (function() { number: function(value) { if (state.get().header.date.month.ordinal) { return helper.ordinalNumber(value + 1); - return value + 1; } else { return value + 1; }; diff --git a/js/version.js b/js/version.js index 1dcbf56f..2f8546d6 100644 --- a/js/version.js +++ b/js/version.js @@ -1,7 +1,7 @@ var version = (function() { // version is normally bumped when the state needs changing or any new functionality is added - var current = "3.1.5"; + var current = "3.1.6"; var compare = function(a, b) { var pa = a.split(".");