Skip to content

Commit

Permalink
Allow for safari in chrome UA string
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobSanford committed Nov 21, 2023
1 parent 91a41b8 commit 28e80f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function buildForm(array $form, FormStateInterface $form_state, SerialTit
* Determines if the current browser supports huge canvases.
*/
private static function browserSupportsHugeCanvas($browser) {
return !str_contains(strtolower($browser), 'safari');
return !str_contains(strtolower($browser), 'safari') || str_contains(strtolower($browser), 'chrome');
}

/**
Expand Down

0 comments on commit 28e80f4

Please sign in to comment.