File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ $(document).ready(function () {
3737 $ ( "#error" ) . closest ( ".message" ) . fadeIn ( ) ;
3838 return false ;
3939 }
40+ if ( ! country ) {
41+ $ ( "#error" ) . html ( "Choose your country" ) ;
42+ $ ( "#error" ) . closest ( ".message" ) . fadeIn ( ) ;
43+ return false ;
44+ }
4045 $ . ajax ( {
4146 url : apiServerUrl + "/validateHandle?handle=" + handle ,
4247 xhrFields : {
Original file line number Diff line number Diff line change @@ -94,7 +94,9 @@ <h1 id="page-title-heading" class="page-title-heading">
9494 </ div >
9595 < div id ="cc " class ="input-field active ">
9696 < label for ="country "> Choose your country</ label >
97- < select id ="country " name ="country " class ="input-text "> </ select >
97+ < select id ="country " name ="country " class ="input-text ">
98+ < option value ='' > </ option >
99+ </ select >
98100 < span > < svg aria-hidden ="true " focusable ="false " width ="5px " height ="10px " viewBox ="0 0 5 10 " version ="1.1 "
99101 xmlns ="http://www.w3.org/2000/svg " xmlns:xlink ="http://www.w3.org/1999/xlink " class ="icon-arrow ">
100102 < g stroke ="none " stroke-width ="1 " fill ="none " fill-rule ="evenodd "> < g id ="Lock " transform ="translate(-396.000000, -3521.000000) "
You can’t perform that action at this time.
0 commit comments