[handle_pixel] change post view defaults
This commit is contained in:
parent
93944fc883
commit
3b5976c334
1 changed files with 4 additions and 1 deletions
|
@ -39,7 +39,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
|
||||
$("img.shm-main-image").click(function(e) {
|
||||
switch(shm_cookie_get("ui-image-zoom")) {
|
||||
case "full": zoom("width"); break;
|
||||
case "full": zoom("both"); break;
|
||||
default: zoom("full"); break;
|
||||
}
|
||||
});
|
||||
|
@ -47,4 +47,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
if(shm_cookie_get("ui-image-zoom")) {
|
||||
zoom(shm_cookie_get("ui-image-zoom"));
|
||||
}
|
||||
else {
|
||||
zoom("both");
|
||||
}
|
||||
});
|
||||
|
|
Reference in a new issue