mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 01:12:29 +02:00
ad6e96b82c
Using SmartPocket theme in Android 9's Chrome gives this error: "Uncaught TypeError: Cannot read property 'toString' of null" The error is caused by the following code e.navigator.userAgent.match(/Android (\d+.\d+)/) because the userAgent set by Chrome in Android 9 reads: "Mozilla/5.0 (Linux; Android 9; H4133) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36" Signed-off-by: Wei-Chung Wen <morisato3711@gmail.com>