Do not change the controls bar

Rely on the default behavior / CSS instead.
This commit is contained in:
Vincent Petry 2014-06-20 13:04:15 +02:00
parent 4e8c480397
commit 41ff4b55ba

View File

@ -83,7 +83,6 @@ var odfViewer = {
$(attachToolbarTo).prepend(odfToolbarHtml);
$('#odf-toolbar').css({position:'fixed'});
} else {
$('#controls').css({left:'0px'});
$(attachToolbarTo).append(odfToolbarHtml);
}
@ -102,9 +101,6 @@ var odfViewer = {
FileList.setViewerMode(false);
$('#odf-toolbar').remove();
$('#odf-canvas').remove();
if (!odfViewer.isDocuments){
$('#controls').css({left:'auto'});
}
}
};