23a0bf3f41
Use a semantic blockquote element instead of span in plugin_bbcode for [quote] You can now use <blockquote> elements directly in posts. Added styling for quotes to Shadow, Cosora and Nox. Experimenting with the padding on Nox's Control Panel Menu. Tweaked the padding for the User Manager items on Nox. Fixed #back filling up all the space it can on Tempra Simple. Added a bit of padding below the last element before the footer on Tempra Simple. Tempra Simple's misc.js is now loaded asynchronously. Shadow's misc.js is now loaded asynchronously. profile_member.js is now loaded asynchronously. account.js is now loaded asynchronously.
20 lines
452 B
JavaScript
20 lines
452 B
JavaScript
function handle_profile_hashbit() {
|
|
var hash_class = "";
|
|
switch(window.location.hash.substr(1)) {
|
|
case "ban_user":
|
|
hash_class = "ban_user_hash";
|
|
break;
|
|
default:
|
|
console.log("Unknown hashbit");
|
|
return;
|
|
}
|
|
$(".hash_hide").hide();
|
|
$("." + hash_class).show();
|
|
}
|
|
|
|
(() => {
|
|
addInitHook("end_init", () => {
|
|
if(window.location.hash) handle_profile_hashbit();
|
|
window.addEventListener("hashchange", handle_profile_hashbit, false);
|
|
});
|
|
})(); |