Skip to content

Commit

Permalink
Remove redundant button
Browse files Browse the repository at this point in the history
Fix parent-id type issue
  • Loading branch information
myname authored and shish committed Nov 7, 2023
1 parent f99f287 commit 3c63d1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ext/relationships/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function get_parent_editor_html(Image $image): HTMLElement
return SHM_POST_INFO(
"Parent",
!$user->is_anonymous(),
$image->parent_id ?: "None",
strval($image->parent_id) ?: "None",
INPUT(["type"=>"number", "name"=>"tag_edit__parent", "value"=>$image->parent_id])
);
}
Expand Down
1 change: 0 additions & 1 deletion themes/danbooru2/view.theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ protected function build_navigation(Image $image): string
<input name='search' type='text' style='width:75%'>
<input type='submit' value='Go' style='width:20%'>
<input type='hidden' name='q' value='/post/list'>
<input type='submit' value='Find' style='display: none;'>
</form>
";

Expand Down

0 comments on commit 3c63d1d

Please sign in to comment.