Passed
Push — master ( 2256c9...a580d9 )
by Fernando
02:21
created

$(ꞌ.lsx-theme-notice .notice-dismissꞌ).click   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 8
rs 9.4285
c 1
b 0
f 0
1
/**
2
 * Admin script.
3
 */
4
jQuery( function( $ ) {
5
6
	$( document ).on( 'click', '.lsx-theme-notice .notice-dismiss', function() {
7
		$.ajax( {
8
			url: ajaxurl,
0 ignored issues
show
Bug introduced by
The variable ajaxurl seems to be never declared. If this is a global, consider adding a /** global: ajaxurl */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
9
			data: {
10
				action: 'lsx_dismiss_theme_notice'
11
			}
12
		} );
13
	} );
14
15
} );
16