mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Issue #4270 - .webp upload support
This commit is contained in:
parent
9b917c0000
commit
35a859923a
@ -792,7 +792,7 @@ console.log('Bbcode: '+bbcode);
|
||||
}
|
||||
|
||||
var src = $(e).attr("data-src"); // heep here.
|
||||
if(src === null) // old way - href='myscript.php#id-to-target
|
||||
if(src !== null) // old way - href='myscript.php#id-to-target
|
||||
{
|
||||
var tmp = src.split('#');
|
||||
id = tmp[1];
|
||||
@ -898,7 +898,7 @@ console.log('Bbcode: '+bbcode);
|
||||
|
||||
// Specify what files to browse for
|
||||
filters: [
|
||||
{title: "Image files", extensions: extImg || "jpg,gif,png,jpeg,svg"},
|
||||
{title: "Image files", extensions: extImg || "jpg,gif,png,jpeg,svg,apng,webp"},
|
||||
{title: "Zip files", extensions: extArchive || "zip,gz,rar"},
|
||||
{title: "Document files", extensions: extDoc || "pdf,doc,docx,xls,xlsm,xml"},
|
||||
{title: "Media files", extensions: 'mp3,mp4,wav,ogg,webm,mid,midi'},
|
||||
|
Loading…
x
Reference in New Issue
Block a user