Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Load langs config.
  • Loading branch information
lilj committed May 29, 2014
1 parent 88fe373 commit 99d9499
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<script src="lib/base64.js"></script>
<script src="lib/translate.js"></script>

<script src="lang/langs.js"></script>

<script>
// try to read "lang" param's from url
var lang = decodeURIComponent((new RegExp('[?|&]lang=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20'))||null;
Expand Down Expand Up @@ -105,4 +107,4 @@
</div>
</div>
</body>
</html>
</html>

0 comments on commit 99d9499

Please sign in to comment.