Sha256: b7307c26648d212c6767f2fa46a0cd177b756d8c11f2ea77268532571d5a6b7a
Contents?: true
Size: 843 Bytes
Versions: 50
Compression:
Stored size: 843 Bytes
Contents
(function() { scrivito.editors._setupButtonContainer = function(element) { var container, containerClass; if (element.is('img')) { containerClass = 'scrivito-editors-image-ui-container'; } else { containerClass = 'scrivito-editors-ui-container'; } container = element.parent(".scrivito-editor-button-container"); if (container.length) { return container.addClass(containerClass); } else { container = element.wrap("<div class='" + containerClass + " scrivito-editor-button-container' />").parent(); element.css('min-height', container.css('min-height')); return container; } }; scrivito.editors._showButtonContainerProgress = function(element) { return element.parent(".scrivito-editor-button-container").addClass("scrivito_element_overlay"); }; }).call(this);
Version data entries
50 entries across 50 versions & 1 rubygems