Closed cebe closed 3 years ago
if for any reason this code line fails, the interval is not removed and console.log fills with error messages every 10ms.
This change prevents that from happening.
I have no idea why it fails, but the widget works fine after it.
there is also an undefined variable rowsCount here:
rowsCount
https://github.com/unclead/yii2-multiple-input/blob/651f07c875494bba82cf6e1589ed43fff1fdb267/src/assets/src/js/jquery.multipleInput.js#L415
Thanks for the quick merge! Would you mind to add "hacktoberfest" topic to the repo, so contributions count for hacktoberfest?
@cebe sure. done 😄
if for any reason this code line fails, the interval is not removed and console.log fills with error messages every 10ms.
This change prevents that from happening.
I have no idea why it fails, but the widget works fine after it.