diff options
| author | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-03-31 14:32:33 +0200 |
|---|---|---|
| committer | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-03-31 14:32:33 +0200 |
| commit | 8073d9c7cb2e8e187cbfb776b865ec9ba2623c25 (patch) | |
| tree | d50d36ec1f8b6415d0106e79f5d122f7da12e3a6 | |
| parent | dcccfab09fd1b4bf1de50c8f3c014f672fa8b7c9 (diff) | |
declare variable id in local scope, fixes #843
| -rw-r--r-- | resources/assets/javascripts/lib/forum.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/assets/javascripts/lib/forum.js b/resources/assets/javascripts/lib/forum.js index 7626d24..e0dd69e 100644 --- a/resources/assets/javascripts/lib/forum.js +++ b/resources/assets/javascripts/lib/forum.js @@ -673,7 +673,7 @@ const Forum = { // jQuery('li[data-id=' + topic_id + '] a.tooltip2').hideAjaxNotification(); // remove all pasted entries, they are now elsewhere - for (id in STUDIP.Forum.clipboard) { + for (var id in STUDIP.Forum.clipboard) { jQuery('li[data-id=' + id + ']').remove(); } |
