Skip to content

Commit

Permalink
Merge pull request #8135 from coliff/patch-3
Browse files Browse the repository at this point in the history
Use correct input type for website url
  • Loading branch information
MorrisJobke authored Feb 5, 2018
2 parents 0225ea1 + f94b53e commit 1424b30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}
}
Expand Down
2 changes: 1 addition & 1 deletion settings/templates/settings/personal/personal.info.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
</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"'); ?>
Expand Down

0 comments on commit 1424b30

Please sign in to comment.