Skip to content

Commit 06ddc7c

Browse files
Virej DasaniVirej Dasani
authored andcommitted
Url now autoselects when search bar is focused
1 parent 5149053 commit 06ddc7c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

customSize/custom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<i id="reloadButton" class="fas fa-redo-alt fa-3x"></i>
2727
<!-- This form is under the controls div on purpose. It is so that they can naturally scale down -->
2828
<form>
29-
<input id="urlInput" type="url" placeholder="https://google.com" value="https://www.google.com">
29+
<input id="urlInput" type="url" placeholder="https://google.com" value="https://www.google.com" onclick="this.select()">
3030
<input id="dimensInput" type="text" placeholder="1280x800" value="1280x800">
3131
<label id="dimensInputLabel" for="dimensInput">Width X Height: </label>
3232
<button type="submit" id="goButton" hidden></button>

laptops/laptops.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<i id="reloadButton" class="fas fa-redo-alt fa-3x"></i>
2727
<!-- This form is under the controls div on purpose. It is so that they can naturally scale down -->
2828
<form>
29-
<input id="urlInput" type="url" placeholder="https://google.com" value="https://www.google.com">
29+
<input id="urlInput" type="url" placeholder="https://google.com" value="https://www.google.com" onclick="this.select()">
3030
<button type="submit" id="goButton" hidden></button>
3131
</form>
3232
</div>

phones/phones.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<i id="reloadButton" class="fas fa-redo-alt fa-3x"></i>
2727
<!-- This form is under the controls div on purpose. It is so that they can naturally scale down -->
2828
<form >
29-
<input id="urlInput" type="url" placeholder="https://google.com" value="https://www.google.com">
29+
<input id="urlInput" type="url" placeholder="https://google.com" value="https://www.google.com" onclick="this.select()">
3030
<button type="submit" id="goButton" hidden></button>
3131
</form>
3232
</div>

tablets/tablets.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<i id="reloadButton" class="fas fa-redo-alt fa-3x"></i>
2727
<!-- This form is under the controls div on purpose. It is so that they can naturally scale down -->
2828
<form>
29-
<input id="urlInput" type="url" placeholder="https://google.com" value="https://www.google.com">
29+
<input id="urlInput" type="url" placeholder="https://google.com" value="https://www.google.com" onclick="this.select()">
3030
<button type="submit" id="goButton" hidden></button>
3131
</form>
3232
</div>

0 commit comments

Comments
 (0)