Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
fix(jscript): fix issue displaying the number of domains in textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSchwarz-cnic committed May 8, 2019
1 parent 307f6ad commit b9e94be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/addons/ispapidomainimport/assets/form.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const ta = $("#domains");
const showNumber = (num) => {
const eL = $("#labeldomains");
eL.text(eL.text().replace(/ \([0-9]+\)$/, ''));
eL.text(eL.text() + `(${num})`);
eL.text(eL.text().replace(/\s?\([0-9]+\)$/, ''));
eL.text(eL.text() + ` (${num})`);
};
const listDomains = (d) => {
$("div.listdomains").css('display', '');
Expand Down

0 comments on commit b9e94be

Please sign in to comment.