PATH:
home
/
sudairsocs
/
www
/
forum
/
Themes
/
default
/
scripts
/* Any changes to this file will be overwritten. To change the content of this file, edit the source files from which it was compiled. */ function getClosest(el,divID) {if(typeof divID=='undefined'||divID==!1) return null;do{if(el.nodeName==='TEXTAREA'||el.nodeName==='INPUT'||el.id==='error_box') break;if(el.id===divID) {return el}} while(el=el.parentNode);return null} function getSelectedText(divID) {if(typeof divID=='undefined'||divID==!1) return!1;var text='',selection,found=0,container=document.createElement("div");if(window.getSelection) {selection=window.getSelection();text=selection.toString()} else if(document.selection&&document.selection.type!='Control') {selection=document.selection.createRange();text=selection.text} for(var i=0;i<selection.rangeCount;i++){s=getClosest(selection.getRangeAt(i).startContainer,divID);e=getClosest(selection.getRangeAt(i).endContainer,divID);if(s!==null&&e!==null) {found=1;container.appendChild(selection.getRangeAt(i).cloneContents());text=container.innerHTML;break}} return found===1?text:!1} function quotedTextClick(oOptions) {text='';$('#quoteSelected_'+oOptions.msgID).hide();$.ajax({url:smf_prepareScriptUrl(smf_scripturl)+'action=quotefast;quote='+oOptions.msgID+';xml;pb='+oEditorID+';mode='+(oEditorObject.bRichTextEnabled?1:0),type:'GET',headers:{"X-SMF-AJAX":1},xhrFields:{withCredentials:typeof allow_xhjr_credentials!=="undefined"?allow_xhjr_credentials:!1},dataType:'xml',beforeSend:function(){ajax_indicator(!0)},complete:function(jqXHR,textStatus){ajax_indicator(!1)},success:function(data,textStatus,xhr){oOptions.text=oOptions.text.replaceAll(/<img src=".*?" alt="(.*?)" title=".*?" class="smiley">/,'$1');text=$(data).find('quote').text();text=text.match(/^\[quote(.*)]/ig)+oOptions.text+'[/quote]'+'\n\n';var e=$('#'+oEditorID).get(0);var oEditor=sceditor.instance(e);text=oEditor.toBBCode(text);oEditor.insert(text);if(typeof oJumpAnchor!='undefined'){if(navigator.appName=='Microsoft Internet Explorer') window.location.hash=oJumpAnchor;else window.location.hash='#'+oJumpAnchor}},error:function(xhr,textStatus,errorThrown){}})} $(function(){$(document).on('mouseup','.inner, .list_posts',function(){var oSelected={divID:$(this).attr('id'),msgID:$(this).data('msgid'),};oSelected.text=getSelectedText(oSelected.divID);if(typeof oSelected.text=='undefined'||oSelected.text==!1) return!0;$('#quoteSelected_'+oSelected.msgID).show();$(document).off('click','#quoteSelected_'+oSelected.msgID+' a');$(document).one('click','#quoteSelected_'+oSelected.msgID+' a',function(e){e.preventDefault();quotedTextClick(oSelected)});$(document).on('click.ondeselecttext'+oSelected.msgID,function(){setTimeout(function(){selectedText=getSelectedText(oSelected.divID);if(typeof selectedText!='undefined'&&selectedText!=!1) return;$(document).off('click','#quoteSelected_'+oSelected.msgID+' a');$('#quoteSelected_'+oSelected.msgID).hide();$(document).off('click.ondeselecttext'+oSelected.msgID)},1)});return!0})})
[+]
..
[-] smf_fileUpload.js
[edit]
[-] icondropdown.js
[edit]
[-] jquery-3.6.3.min.js
[edit]
[-] theme.js
[edit]
[-] qrcode.js
[edit]
[-] minified_3256084bd53c654f7345b56b0748c8c1.js
[edit]
[-] fader.js
[edit]
[-] suggest.js
[edit]
[-] minified_60932b286a62213dffd19341f27c710c.js
[edit]
[-] jquery.custom-scrollbar.js
[edit]
[-] admin.js
[edit]
[-] alerts.js
[edit]
[-] quotedText.js
[edit]
[-] dropzone.min.js
[edit]
[-] jquery.caret.min.js
[edit]
[-] minified_27b358dbf97be9848d9672fbf8cc0d72.js
[edit]
[-] captcha.js
[edit]
[-] jquery-ui.datepicker.min.js
[edit]
[-] spellcheck.js
[edit]
[-] jquery.timepicker.min.js
[edit]
[-] script.js~
[edit]
[-] register.js
[edit]
[-] mentions.js
[edit]
[-] profile.js
[edit]
[-] editor.js
[edit]
[-] topic.js
[edit]
[-] PersonalMessage.js
[edit]
[-] minified_032684497715f910a4b86bfe1428ed76.js
[edit]
[-] minified_98c8f30c239a8a882fb0a646f3d4d4be.js
[edit]
[-] smf_jquery_plugins.js
[edit]
[-] jquery.datepair.min.js
[edit]
[-] stats.js
[edit]
[-] jquery.sceditor.bbcode.min.js
[edit]
[-] sha1.js
[edit]
[-] minified_7a98bade854c7482c1d6fe03779d8cb5.js
[edit]
[-] alertSettings.js
[edit]
[-] slippry.min.js
[edit]
[-] index.php
[edit]
[-] minified_f144db558e0cd546ac34edb3ece7f54f.js
[edit]
[-] minified_8d3fd2db608dec07614478608da06271.js
[edit]
[-] minified_e61540b59b1595425b4b98176d0f429a.js
[edit]
[-] minified_b35ae691bf1eda2c6b010a08a2526e06.js
[edit]
[-] jquery.sceditor.smf.js
[edit]
[-] minified_96cd0c56c4aa295006f7b4bf99f0553c.js
[edit]
[-] drafts.js
[edit]
[-] script.js
[edit]
[-] jquery.atwho.min.js
[edit]
[-] minified_b3f5c33fe6d21f4cc5b1511ea1293c27.js
[edit]