File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
$ ( document ) . ready ( function ( ) {
2
2
pre_content = $ ( "#jalpc_site_pv" ) . html ( ) ;
3
3
$ ( "#jalpc_site_pv" ) . html ( pre_content ) ;
4
- $ . ajax ( {
5
- type : "get" ,
6
- async : false ,
7
- url : "https://miniapp.jack003.com/counter.cgi" ,
8
- dataType : "jsonp" ,
9
- jsonp : "callback" ,
10
- jsonpCallback : "flightHandler" ,
11
- success : function ( json ) {
12
- var website_count = json . data ;
13
- $ ( "#jalpc_site_pv" ) . html ( '<span class="navy">' + website_count + '</span> <span data-i18n="link.view">views</span> || ' + pre_content ) ;
14
- } ,
15
- error : function ( ) {
16
- console . log ( 'fail' ) ;
17
- }
18
- } ) ;
4
+ // $.ajax({
5
+ // type: "get",
6
+ // async: false,
7
+ // url: "https://miniapp.jack003.com/counter.cgi",
8
+ // dataType: "jsonp",
9
+ // jsonp: "callback",
10
+ // jsonpCallback: "flightHandler",
11
+ // success: function (json) {
12
+ // var website_count = json.data;
13
+ // $("#jalpc_site_pv").html('<span class="navy">' + website_count + '</span> <span data-i18n="link.view">views</span> || ' + pre_content);
14
+ // },
15
+ // error: function () {
16
+ // console.log('fail');
17
+ // }
18
+ // });
19
19
} ) ;
You can’t perform that action at this time.
0 commit comments