PageSourceSearch

https://www.future-ed.org/wp-content/plugins/mxw_enhancment_suite/assets/js/alert_bar.js?ver=06.28.19

js future-ed.org collected 2026-09-24 09:16:31 UTC 807 bytes, 26 lines download raw bytes

1( function( $ ) {
2
3	// Click event for close button, sets cookie based on expiry setting.
4	function mxw_promotion_alert_bar_close(){
5		$('.alert-bar__close').on('click', function(e){
6			e.preventDefault();
7			$('.component--alert-bar').fadeOut();
8			Cookies.set('mxw_promotion_alert_'+alert_bar_vars.cookie_string, 'dismissed', { expires: parseFloat(alert_bar_vars.expiration) });
9		});
10	}
11
12
13
14	function mxw_promotion_alert_bar_cookie_check(){
15		if(Cookies.get('mxw_promotion_alert_'+alert_bar_vars.cookie_string) !== 'dismissed'){
16			Cookies.set('mxw_promotion_alert_'+alert_bar_vars.cookie_string, 'not_dismissed', { expires: parseFloat(alert_bar_vars.expiration) });
17		}
18	}
19
20	$(document).ready(function(){
21		mxw_promotion_alert_bar_cookie_check();
22		mxw_promotion_alert_bar_close();
23	});
24
25
26} )( jQuery );

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.