mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +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:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user