Skip to content
Snippets Groups Projects

Resolve #3427409 "Jquery once"

Open catch requested to merge issue/tft-3427409:3427409-jquery-once into 3.x
Files
3
+ 2
1
@@ -65,7 +65,8 @@ var $folderName, $folderMenu, $folderContainer, $folderMenuContainer, $tacLink,
tft.prepareFolderLinks = function () {
$('a.folder-folder-link').each(function () {
(function ($this) {
$this.once('tft_folder_link_click').click(function (e) {
$(once('tft_folder_link_click', $this[0])).click(function (e) {
var tid = $this.attr('id').replace('tid-', '');
if (tid) {
Loading