HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //var/www/intranet.kauko.lt/wp-content/plugins/vc-super-bundle/features/text-gradient/script.js
(function() {
	var ready = function() {
		var gradientTexts = document.querySelectorAll( '.cg_color_gradient > * > [style*="text-align:"]' );
		Array.prototype.forEach.call( gradientTexts, function(el) {
			var wrapper = document.createElement('div');
			wrapper.style.textAlign = el.style.textAlign;
			wrapper.classList.add( 'cg_wrapper' );
			wrapper.style.display = 'block';
			el.parentNode.replaceChild(wrapper, el);
			wrapper.appendChild(el);
		} )
	}
  if (document.attachEvent ? document.readyState === 'complete' : document.readyState !== 'loading'){
	ready();
  } else {
	document.addEventListener('DOMContentLoaded', ready);
  }
})()