Permalink
Browse files

Add german menu entry.

  • Loading branch information...
1 parent 84afd58 commit 1d92508914d3e174360dec2e96f3d3bb05af462c @jdm committed Dec 5, 2012
Showing with 17 additions and 0 deletions.
  1. +16 −0 foopy.js
  2. +1 −0 index.html
View
@@ -110,5 +110,21 @@ $(window).load(function() {
}
}
+ var query = window.location.hash.substring(1);
switchGroup('proglang');
+ if (query.length == 0) {
+ return;
+ }
+
+ var node = document.querySelector('li[next-group="' + query + '"]');
+ if (!node)
+ return;
+ node = node.parentNode.parentNode;
+ while (node.has) {
+
+ }
+
+
+ cleanUpCurrent();
+ switchGroup(query.substring(1));
});
View
@@ -17,6 +17,7 @@
<div id="lang">
<span data-l10n-id="lang-selection">language: </span>
<select>
+ <option value='de'>de</option>
<option selected value='en'>en</option>
<option value='fr'>fr</option>
<option value='el'>gr</option>

0 comments on commit 1d92508

Please sign in to comment.