Skip to content

Commit 9f56006

Browse files
committed
revert _matchMedia change
1 parent bf3994f commit 9f56006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/html/window.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ pub const Window = struct {
261261
_ = self.timers.remove(id);
262262
}
263263

264-
pub fn _matchMedia(_: *const Window, media: []const u8, page: *Page) !MediaQueryList {
264+
pub fn _matchMedia(_: *const Window, media: Env.String) !MediaQueryList {
265265
return .{
266266
.matches = false, // TODO?
267267
.media = media.string,

0 commit comments

Comments
 (0)