diff --git a/src/includes/js/LSdefault.js b/src/includes/js/LSdefault.js index 2cc5fa97..be30e777 100644 --- a/src/includes/js/LSdefault.js +++ b/src/includes/js/LSdefault.js @@ -76,6 +76,12 @@ var LSdefault = new Class({ this.initializeLang(); document.getElements('.copyable').each(function(el) { + if (el.hasClass('copyable-no-btn')) { + el.addEvent('click', this.onCopyBtnClick.bind(this, {btn: null, element: el})); + el.setStyle('cursor', 'copy'); + this.addHelpInfo(el, 'LSdefault', 'copy_to_clipboard'); + return; + } var btn = new Element('img'); btn.setProperties({ src: this.imagePath('copy')