From c1f4722e7b6554c3e8c4e4129fa1168debfb604f Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Mon, 5 Oct 2020 12:39:48 +0100 Subject: [PATCH] Bug 24083: (follow-up) Fix error in checkouts JS This commit fixes a small error in the checkouts related JS --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index 48c13db3cf..38dd45a17c 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -554,13 +554,11 @@ $(document).ready(function() { content += "("; content + __("%s of %s renewals remaining").format(oObj.renewals_remaining, oObj.renewals_allowed); if (UnseenRenewals && oObj.unseen_allowed) { - content += __(" / %s of %s unseen renewals remaining").format(oObj.unseen_remaining, oObj.unseen_allowed); + content += __("%s of %s unseen renewals remaining").format(oObj.unseen_remaining, oObj.unseen_allowed); } - + ")"; + content += ")"; } - content += ""; - return content; } }, -- 2.20.1