Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Giraffaman committed Mar 16, 2024
1 parent 8aa7829 commit 2c2314a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions themes/pr0booru/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,15 @@ window.addEventListener('load', function () {
;
}
}

/*
infoSection = document.getElementsByClassName("image_info form")[0].parentNode.parentNode.parentNode;
sid = infoSection.attributes.id.nodeValue;
myh3 = document.createElement('h3');
myh3.className = "shm-toggler";
myh3.dataset.toggleSel = '#' + sid;
myh3.textContent = 'HIDE';
infoSection.insertBefore(myh3, infoSection.firstChild);

*/
});

// prevent rating view switcher form being submitted if no checkboxes are checked
Expand Down
2 changes: 1 addition & 1 deletion themes/pr0booru/view.theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function display_page(Image $image, $editor_parts): void
$page->set_heading(html_escape($image->get_tag_list()));
$page->add_block(new Block("Navigation", $this->build_navigation($image), "left", 0));
$page->add_block(new Block("Statistics", $this->build_stats($image), "left", 15));
$page->add_block(new Block(null, $this->build_info($image, $editor_parts), "main", 10, "info-edit-section"));
$page->add_block(new Block("Shoe/hide post info", $this->build_info($image, $editor_parts), "main", 10));
$page->add_block(new Block(null, $this->build_pin($image), "main", 11));
}

Expand Down

0 comments on commit 2c2314a

Please sign in to comment.