annotate static/js/common.js @ 443:bd7554a71028 marutosi/use-https-at-text-of-httpseleniccomhg-8-1451660654170

close
author Sean Farley <sean@farley.io>
date Tue, 22 Mar 2016 22:32:50 -0700
parents 59e0087c784a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 }