mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-03 15:42:54 +00: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:
parent
9b94b32b83
commit
cbab60476a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue