Browse Source

Fixing the allow locale local embed

pull/141/head
Zach Wise 13 years ago
parent
commit
4039e37290
  1. 2
      compiled/js/timeline-embed.js
  2. 7
      source/js/Embed.js

2
compiled/js/timeline-embed.js

File diff suppressed because one or more lines are too long

7
source/js/Embed.js

@ -105,6 +105,13 @@
}
}
/* PREPARE LANGUAGE
================================================== */
if (embed_config.lang.match("/")) {
//embed_config.lang = ;
} else {
}
// Check for old installs still using the old method of language
if (embed_config.js.match("locale")) {
embed_config.lang = embed_config.js.split("locale/")[1].replace(".js", "");

Loading…
Cancel
Save