Do not change the controls bar

Rely on the default behavior / CSS instead.
pull/1/head
Vincent Petry 10 years ago
parent 4e8c480397
commit 41ff4b55ba

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

Loading…
Cancel
Save