var chapterid = 6233193;
var chaptername = "第二百二十八章:比想象的坚强";
$.post("ost.php", { action: "addbookmark", bookid: bookid, chapterid: chapterid, chaptername: chaptername },
function (data) {
var data = json.parse(data);
swal({
title: "提示",
text: data.info,
timer:1000
});
})
}
function addhit(bookid) {
$.post("ost.php",
{ action: "addhit", bookid: bookid }
);
}
if (typeof addhit != 'undefined' && addhit instanceof function)
addhit(581452);
if (typeof addbookmarkbyjs != 'undefined' && addbookmarkbyjs instanceof function)
addbookmarkbyjs(6233193, 581452, '第二百二十八章:比想象的坚强');
$(window).resize(function{
var winwidth = $(window).width
if (winwidth < 980 && $('.m-setting').length) {
$('body').attr('id', 'reader-m-fix');
} else {
$('body').attr('id', '');
}