mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
LibWeb: Fix various typos
Corresponds to: - https://github.com/whatwg/html/pull/10934 - https://github.com/whatwg/html/pull/10950
This commit is contained in:
parent
c5d793c4a9
commit
3775f3399c
Notes:
github-actions[bot]
2025-01-30 15:01:16 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3775f3399c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3404
13 changed files with 25 additions and 26 deletions
|
@ -89,7 +89,7 @@ GC::Ptr<MimeType> Plugin::item(u32 index) const
|
|||
auto& window = as<HTML::Window>(HTML::relevant_global_object(*this));
|
||||
auto mime_types = window.pdf_viewer_mime_type_objects();
|
||||
|
||||
// 2. If index < mimeType's size, then return mimeTypes[index].
|
||||
// 2. If index < mimeTypes's size, then return mimeTypes[index].
|
||||
if (index < mime_types.size())
|
||||
return mime_types[index];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue