Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
fix spain demo
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenrskelton committed Dec 20, 2014
1 parent 6d730e6 commit 738b801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/spain.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h1>Spainish Flags</h1>
};
function changeShow(key){
document.getElementById('show').key = key;
var data = flagicon.de_states.filter(function(row){ return row.nuts == key; })[0];
var data = flagicon.es_autonomy.filter(function(row){ return row.iso == key; })[0];
document.getElementById('show').es = true;
document.getElementById('show').name = head(data.name);
document.getElementById('show').endonym = head(data.endonym);
Expand Down

0 comments on commit 738b801

Please sign in to comment.