Merge pull request #282 from owncloud/viewer-controls
Do not change the controls bar
This commit is contained in:
commit
5b8b1a4625
@ -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…
x
Reference in New Issue
Block a user