ElEditors, Interface administrators, Administrators
70,975
edits
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 79: | Line 79: | ||
$('.char-banner-title').text(class_name); | $('.char-banner-title').text(class_name); | ||
$('.char-banner-image').html(face(base_name, coords[0], coords[1])); | $('.char-banner-image').html(face(base_name, coords[0], coords[1])); | ||
}); | }); | ||
Line 106: | Line 100: | ||
$('.char-banner-tree[data-base=' + base_name + ']').css('display', 'grid'); | $('.char-banner-tree[data-base=' + base_name + ']').css('display', 'grid'); | ||
global_tree = base_name; | global_tree = base_name; | ||
if (isMobile) { | |||
$('.char-banner').click(function () { | |||
window.location.href = '/w/' + base_name; | |||
}); | |||
console.log(1); | |||
} | |||
}); | }); | ||