Non-case sensitive link checking in the hyperlink dialog
Change-Id: I1f31946e68d22c89acffdba5a5b55203892712c1 Reviewed-on: https://gerrit.libreoffice.org/85460 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
parent
76114dd957
commit
0d2db9ba30
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ L.Map.include({
|
|||
},
|
||||
|
||||
makeURLFromStr: function(str) {
|
||||
if (!(str.startsWith('http://') || str.startsWith('https://'))) {
|
||||
if (!(str.toLowerCase().startsWith('http://') || str.toLowerCase().startsWith('https://'))) {
|
||||
str = 'http://' + str;
|
||||
}
|
||||
return str;
|
||||
|
|
Loading…
Reference in a new issue