mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 13:21:37 +02:00
Merge pull request #1747 from overleaf/hb-graphics-autocomplete-additions
Make image autocomplete file type case insensitive GitOrigin-RevId: 8a39a600340d8cea7bbfda08d8cc95343c8002ad
This commit is contained in:
committed by
sharelatex
parent
9b94b32b83
commit
cbab60476a
@@ -22,7 +22,7 @@ define(['base'], App =>
|
||||
__guardMethod__(
|
||||
entity != null ? entity.name : undefined,
|
||||
'match',
|
||||
o => o.match(/.*\.(png|jpg|jpeg|pdf|eps)/)
|
||||
o => o.match(/.*\.(png|jpg|jpeg|pdf|eps)/i)
|
||||
)
|
||||
) {
|
||||
const cloned = _.clone(entity)
|
||||
|
||||
Reference in New Issue
Block a user