Use left bar width for lower overlay layer

This commit is contained in:
Victor Dubiniuk 2013-09-05 20:21:12 +03:00
parent 449ea64b68
commit 53d2bf2994

View File

@ -8,6 +8,7 @@ var documentsMain = {
onStartup: function() {
"use strict";
$('<div id="documents-overlay"></div> <div id="documents-overlay-below"></div>').hide().appendTo(document.body);
$('#documents-overlay-below').css({left: $('#navigation').width()+4});
OC.addScript('documents', 'dojo-amalgamation', function() {
OC.addScript('documents', 'webodf-debug').done(function() {
// preload stuff in the background