mivaecommerce / levels-readytheme

Repo for Levels ReadyTheme
1 stars 0 forks source link

If Country is limited (I.E. US only), Dropdown state select doesn't show up. #33

Closed tessguefen closed 8 years ago

tessguefen commented 8 years ago

Previous code on scripts.js in under jsOCST:

if( $select.val() === default_country){

Replace with

if( $select.val() === default_country || !$select.val()){

When there is only 1 country offered, there is no select value.