# hostinger/2.2.2/src/js/global-scripts.js

Hostinger Tools, version 2.2.2. 15 lines.

- Page: https://pluginprobe.com/plugins/hostinger/2.2.2/code/src/js/global-scripts.js
- Raw: https://pluginprobe.com/plugins/hostinger/2.2.2/raw/src/js/global-scripts.js
- Modified: 2024-04-15T13:46:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/hostinger/2.2.2/code/src/js/global-scripts.js#L10-L20`.

```javascript
import './autocomplete_steps'

(function ($) {

	$(document).on('ready', function () {
		const nonce = $('#hts_close_omnisend_nonce').val();
		$('.hts-omnisend .notice-dismiss').on('click', function() {
			$.post(ajaxurl, { action: 'hostinger_dismiss_omnisend_notice', nonce: nonce });
			$('.hts-omnisend').remove();
		});

	});

})(jQuery);

```
