Add cookie notice with settings, jfif preview support, and share page title from link name
This commit is contained in:
@@ -21,7 +21,7 @@ async function loadLinkSettings() {
|
||||
}
|
||||
|
||||
function isImageFile(name) {
|
||||
return /\.(jpe?g|png|gif|webp|bmp|avif|svg|ico)$/i.test(name || '');
|
||||
return /\.(jpe?g|jfif|png|gif|webp|bmp|avif|svg|ico)$/i.test(name || '');
|
||||
}
|
||||
|
||||
function mainPhotoPath(e) {
|
||||
|
||||
Reference in New Issue
Block a user