summaryrefslogtreecommitdiff
path: root/src/static
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2013-02-17 23:44:26 +0000
committerJohn McLear <john@mclear.co.uk>2013-02-17 23:44:26 +0000
commit6d7e709ecb4641a48a0ef543d44421b1289424e6 (patch)
treeb536add1de5d47294ecc4cdcf26d947e559e7bcb /src/static
parentc723aefdfeb1e690282d5a5e01de7531f53a42f3 (diff)
parent26699618ac44238a08d44b99e7e2a3b77978bb33 (diff)
downloadetherpad-lite-6d7e709ecb4641a48a0ef543d44421b1289424e6.zip
Merge branch 'develop' of github.com:ether/etherpad-lite into store-sessions-in-db
Diffstat (limited to 'src/static')
-rw-r--r--src/static/css/iframe_editor.css6
-rw-r--r--src/static/js/l10n.js4
2 files changed, 7 insertions, 3 deletions
diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css
index dd7452b2..3e19cbbe 100644
--- a/src/static/css/iframe_editor.css
+++ b/src/static/css/iframe_editor.css
@@ -177,6 +177,10 @@ p {
#overlaysdiv { position: absolute; left: -1000px; top: -1000px; }
+/* Stops super long lines without being spaces such as aaaaaaaaaaaaaa*100 breaking the editor
+ Commented out because it stops IE from being able to render the document, crazy IE bug is crazy. */
+/*
.ace-line{
- overflow:hidden; /* Stops super long lines without being spaces such as aaaaaaaaaaaaaa*100 breaking the editor */
+ overflow:hidden;
}
+*/
diff --git a/src/static/js/l10n.js b/src/static/js/l10n.js
index a67a7c1a..c79ea706 100644
--- a/src/static/js/l10n.js
+++ b/src/static/js/l10n.js
@@ -1,8 +1,8 @@
(function(document) {
// Set language for l10n
- var language = document.cookie.match(/language=((\w{2,3})(-w+)?)/);
+ var language = document.cookie.match(/language=((\w{2,3})(-\w+)?)/);
if(language) language = language[1];
-
+
html10n.bind('indexed', function() {
html10n.localize([language, navigator.language, navigator.userLanguage, 'en'])
})