Merge branch 'develop' of github.com:ether/etherpad-lite into store-sessions-in-db

This commit is contained in:
John McLear 2013-02-17 23:44:26 +00:00
commit 6d7e709ecb
14 changed files with 104 additions and 14 deletions

View file

@ -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;
}
*/

View file

@ -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'])
})