Add data-mkws-config object to set lang_options.
authorMike Taylor <mike@indexdata.com>
Fri, 24 Oct 2014 09:49:38 +0000 (10:49 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 24 Oct 2014 09:49:38 +0000 (10:49 +0100)
examples/htdocs/mike.html

index f764287..bae0185 100644 (file)
@@ -30,7 +30,7 @@
   <body>
     <div class="mkws-authname mkws-team-foo"></div>
     <div class="mkws-switch mkws-team-foo"></div>
-    <div class="mkws-lang mkws-team-foo"></div>
+    <div class="mkws-lang mkws-team-foo" data-mkws-config='{ "lang_options": [ "en", "da" ] }'></div>
     <div class="mkws-progress mkws-team-foo"></div>
     <div class="mkws-search mkws-team-foo"></div>
     <div class="mkws-results mkws-team-foo"></div>