Submit
Path:
~
/
home
/
getwphos
/
public_html
/
giulianos
/
wp-content
/
plugins
/
gravityforms
/
js
/
File Content:
tooltip_init.js
jQuery( function() { gform_initialize_tooltips(); } ); function gform_initialize_tooltips() { var $tooltips = jQuery( '.gf_tooltip' ); if ( ! $tooltips.length ) { return; } $tooltips.tooltip( { show: { effect: 'fadeIn', duration: 200, delay: 100, }, position: { my: 'center bottom', at: 'center-3 top-11', }, tooltipClass: 'arrow-bottom', items: '[aria-label]', content: function () { var content = jQuery( this ).attr( 'aria-label' ); return gform_strip_scripts( content ); }, open: function ( event, ui ) { if ( typeof ( event.originalEvent ) === 'undefined' ) { return false; } // set the tooltip offset on reveal based on tip width and offset of trigger to handle dynamic changes in overflow setTimeout( function() { var leftOffset = ( this.getBoundingClientRect().left - ( ( ui.tooltip[0].offsetWidth / 2 ) - 5 ) ).toFixed(3); ui.tooltip.css( 'left', leftOffset + 'px' ); }.bind( this ), 100 ); var $id = ui.tooltip.attr( 'id' ); jQuery( 'div.ui-tooltip' ).not( '#' + $id ).remove(); }, close: function ( event, ui ) { ui.tooltip.hover( function () { jQuery( this ).stop( true ).fadeTo( 400, 1 ); }, function () { jQuery( this ).fadeOut( '500', function () { jQuery( this ).remove(); } ); } ); } } ); } /** * Sanitizes a given piece of HTML markup by removing script tags from it. * * @param {string} content The HTML content to sanitize. * * @return {string} */ function gform_strip_scripts( content ) { var tempWrapper = document.createElement( 'div' ); tempWrapper.innerHTML = content; var scripts = tempWrapper.getElementsByTagName( 'script' ); for ( var i = 0; i < scripts.length; i++ ) { scripts[ i ].parentNode.removeChild( scripts[ i ] ); } return tempWrapper.innerHTML; } function gform_system_shows_scrollbars() { var parent = document.createElement("div"); parent.setAttribute("style", "width:30px;height:30px;"); parent.classList.add('scrollbar-test'); var child = document.createElement("div"); child.setAttribute("style", "width:100%;height:40px"); parent.appendChild(child); document.body.appendChild(parent); var scrollbarWidth = 30 - parent.firstChild.clientWidth; document.body.removeChild(parent); return scrollbarWidth ? true : false; }
Submit
FILE
FOLDER
Name
Size
Permission
Action
components
---
0755
vendor
---
0755
chosen.jquery.min.js
29121 bytes
0644
conditional_logic.js
25420 bytes
0644
conditional_logic.min.js
9961 bytes
0644
datepicker-legacy.js
1565 bytes
0644
datepicker-legacy.min.js
959 bytes
0644
datepicker.js
6913 bytes
0644
datepicker.min.js
2995 bytes
0644
duplicate-submissions.js
3217 bytes
0644
duplicate-submissions.min.js
903 bytes
0644
form_admin.js
66106 bytes
0644
form_admin.min.js
34185 bytes
0644
form_editor.js
172778 bytes
0644
form_editor.min.js
110194 bytes
0644
forms.js
1933 bytes
0644
forms.min.js
1036 bytes
0644
gf_field_filter.js
12634 bytes
0644
gf_field_filter.min.js
5894 bytes
0644
gforms_hooks.js
4101 bytes
0644
gforms_hooks.min.js
2139 bytes
0644
gravityforms.js
109384 bytes
0644
gravityforms.min.js
45488 bytes
0644
index.php
27 bytes
0644
jquery.json-1.3.js
4884 bytes
0644
jquery.json-1.3.min.js
1720 bytes
0644
jquery.json.js
5256 bytes
0644
jquery.json.min.js
1823 bytes
0644
jquery.maskedinput-1.3.1.min.js
4412 bytes
0644
jquery.maskedinput.js
10652 bytes
0644
jquery.maskedinput.min.js
4159 bytes
0644
jquery.textareaCounter.plugin.js
6235 bytes
0644
jquery.textareaCounter.plugin.min.js
1933 bytes
0644
layout_editor.js
41234 bytes
0644
layout_editor.min.js
13113 bytes
0644
page_conditional_logic.js
5409 bytes
0644
page_conditional_logic.min.js
2396 bytes
0644
placeholders.jquery.min.js
4639 bytes
0644
plugin_settings.js
1877 bytes
0644
plugin_settings.min.js
1173 bytes
0644
preview.js
2269 bytes
0644
preview.min.js
1468 bytes
0644
shortcode-ui.js
26346 bytes
0644
shortcode-ui.min.js
10910 bytes
0644
skip.js
127 bytes
0644
skip.min.js
55 bytes
0644
tooltip_init.js
2433 bytes
0644
tooltip_init.min.js
1356 bytes
0644
N4ST4R_ID | Naxtarrr