Merge pull request #8297 from nextcloud/bugfix/noid/fix-example-regex-for-user-agent-matching

Fix example regex for user agent matching
This commit is contained in:
Morris Jobke 2018-02-12 10:56:36 +01:00 committed by GitHub
commit 825975b322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
var placeholder = 'Mozilla/5.0 User Agent';
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
placeholder = '/^Mozilla\\/5\\.0 (.?)$/i';
placeholder = '/^Mozilla\\/5\\.0 (.*)$/i';
}
$(element).css('width', '250px')