You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind a05a30c1c1
Don't add same line code comment box twice (#11837)
* Don't add same line code comment box twice

Clicking the same '+' button multiple times adds multiple comment boxes
to the same line. Prevent this by assigning a unique key to each comment
box and checking if it already exists in the DOM.

Also cleaned up the code around this a bit.

* Update web_src/js/index.js

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
components Insert ui divider directly in templates instead of from inside heatmap vue component (#11508) 4 years ago
features Replace jquery-datetimepicker with native date input (#11684) 4 years ago
standalone Reorganize frontend files and tooling (#10168) 4 years ago
vendor Misc JS linting and naming tweaks (#10652) 4 years ago
index.js Don't add same line code comment box twice (#11837) 4 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 4 years ago
publicpath.js Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) 4 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 4 years ago
utils.js Move tributejs to npm/webpack (#11497) 4 years ago