1(function($, window, document, _undefined) { 2 XenForo.xiTag = function($trigger) { 3 4 $trigger.click(function(e) { 5 var $form = $('#QuickReply') 6 , xhr = null; 7 8 $form.data('QuickReply').scrollAndFocus(); 9 10 var ed = XenForo.getEditorInForm($form); 11 12 if(!ed) { 13 return false; 14 } 15 16 if(ed.$editor) { 17 ed.insertHtml('@' + $trigger.data('username') + ', '); 18 if (ed.$editor.data('xenForoElastic')) 19 { 20 ed.$editor.data('xenForoElastic')(); 21 } 22 } else { 23 ed.val(ed.val() + '@' + $trigger.data('username') + ', '); 24 } 25 26 return false; 27 }); 28 } 29 30 XenForo.register('a.XITag', "XenForo.xiTag"); 31})(jQuery, this, document);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.