Mercurial > hg-website
annotate static/js/common.js @ 486:e3a73084715a
about: update URLs and prefer https://
The URLs for other version control systems on the 'About' page needed
updating. Although they pretty much all resolve to the right places
via redirection, it wouldn't hurt to have the links go straight to the
source anyway.
author | Bradley Jones <brdjns@gmx.us> |
---|---|
date | Fri, 07 Sep 2018 13:54:33 +1200 |
parents | 59e0087c784a |
children |
rev | line source |
---|---|
276
6916a7e4fbf0
base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff
changeset
|
1 var resetted = false; |
6916a7e4fbf0
base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff
changeset
|
2 function resetBar() { |
6916a7e4fbf0
base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff
changeset
|
3 if (!resetted) { |
6916a7e4fbf0
base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff
changeset
|
4 document.getElementById('keyword').value = ''; |
6916a7e4fbf0
base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff
changeset
|
5 resetted = true; |
6916a7e4fbf0
base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff
changeset
|
6 } |
6916a7e4fbf0
base: Reset value if the user clicks into the search input field
David Soria Parra <dsp@php.net>
parents:
diff
changeset
|
7 } |