Files
wp-multisite-waas/assets/js/setup-wizard-polyfill.min.js
David Stone d88e50df38 Prep Plugin for release on WordPress.org (#23)
* Update translation text domain
* Escape everything that should be escaped.
* Add nonce checks where needed.
* Sanitize all inputs.
* Apply Code style changes across the codebase.
* Correct many deprecation notices.
* Optimize load order of many filters.
* Add Proper Build script
* Use emojii flags
* Fix i18n deprecation  notice for translating too early
* Put all scripts in footer and load async
2025-04-14 11:36:46 -06:00

2 lines
601 B
JavaScript

let wu_block_ui_polyfill=function(o){jQuery(o).wu_block({message:'<span style="float: none;" class="spinner is-active wu-float-none"></span>',overlayCSS:{backgroundColor:"#FFF",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}});var n=jQuery(o);return n.unblock=jQuery(o).wu_unblock,n};(o=>{o(document).ready(function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"}),o("#poststuff").on("submit","form",function(){wu_block_ui_polyfill(o(this))})})})(jQuery);