File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/main.share/templates/flat/script.js
Back
(function (window) { if (!!window.JCShareButtons) { return; } window.JCShareButtons = function (containerId) { if (containerId) { var container = BX(containerId); if (container) { this.shareButtons = BX.findChildren(container, {tagName: 'LI'}, true); if (this.shareButtons && this.shareButtons.length >= 1) { BX.bind(this.shareButtons[this.shareButtons.length-1], 'click', BX.delegate(this.alterVisibility, this)); } } } }; window.JCShareButtons.prototype.alterVisibility = function() { if (this.shareButtons && this.shareButtons.length >= 1) { for (var i = 0; i < this.shareButtons.length-1; i++) { var li = this.shareButtons[i]; li.style.display = li.style.display == "none"? "": "none"; } } }; } )(window); function __function_exists(function_name) { if (typeof function_name == 'string') { return (typeof window[function_name] == 'function'); } else { return (function_name instanceof Function); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.29 |
proxy
|
phpinfo
|
Settings