Merge pull request #8135 from coliff/patch-3

Use correct input type for website url
This commit is contained in:
Morris Jobke 2018-02-05 12:15:19 +01:00 committed by GitHub
commit 1424b30213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ input {
}
.personal-settings-setting-box input {
&[type="text"], &[type="email"], &[type="tel"] {
&[type="text"], &[type="email"], &[type="tel"], &[type="url"] {
width: 100%;
}
}

View File

@ -240,7 +240,7 @@ vendor_style('jcrop/css/jquery.Jcrop');
</div>
</div>
<?php } ?>
<input type="text" name="website" id="website" value="<?php p($_['website']); ?>"
<input type="url" name="website" id="website" value="<?php p($_['website']); ?>"
placeholder="<?php p($l->t('Link https://…')); ?>"
autocomplete="on" autocapitalize="none" autocorrect="off"
<?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?>