support heartstone plugin

pull/180/head
Ekkles 2019-10-25 07:20:32 +13:00 committed by GitHub
parent 6a5c480eb3
commit c8555a129d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,9 @@ mashiro_global.ini = new function () {
coverVideoIni();
checkskinSecter();
scrollBar();
$(".hearthstone-deck").each(function () {
$(this).attr('height', $(this).width()*5/9+'px');
});
}
this.pjax = function () { // pjax reload functions (pjax 重载函数)
pjaxInit();
@ -24,9 +27,14 @@ mashiro_global.ini = new function () {
copy_code_block();
coverVideoIni();
checkskinSecter();
reloadHermit();
$(".hearthstone-deck").each(function () {
$(this).attr('height', $(this).width()*5/9+'px');
});
}
}
function setCookie(name, value, days) {
var expires = "";
if (days) {