Merge pull request #8676 from nextcloud/8297_13
[stable13] Fix example regex for user agent matching
This commit is contained in:
commit
242f0c0b5a
|
@ -45,7 +45,7 @@
|
||||||
var placeholder = 'Mozilla/5.0 User Agent';
|
var placeholder = 'Mozilla/5.0 User Agent';
|
||||||
|
|
||||||
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
|
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
|
||||||
placeholder = '/^Mozilla\\/5\\.0 (.?)$/i';
|
placeholder = '/^Mozilla\\/5\\.0 (.*)$/i';
|
||||||
}
|
}
|
||||||
|
|
||||||
$(element).css('width', '250px')
|
$(element).css('width', '250px')
|
||||||
|
|
Loading…
Reference in New Issue