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);
|
$(attachToolbarTo).prepend(odfToolbarHtml);
|
||||||
$('#odf-toolbar').css({position:'fixed'});
|
$('#odf-toolbar').css({position:'fixed'});
|
||||||
} else {
|
} else {
|
||||||
$('#controls').css({left:'0px'});
|
|
||||||
$(attachToolbarTo).append(odfToolbarHtml);
|
$(attachToolbarTo).append(odfToolbarHtml);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,9 +101,6 @@ var odfViewer = {
|
|||||||
FileList.setViewerMode(false);
|
FileList.setViewerMode(false);
|
||||||
$('#odf-toolbar').remove();
|
$('#odf-toolbar').remove();
|
||||||
$('#odf-canvas').remove();
|
$('#odf-canvas').remove();
|
||||||
if (!odfViewer.isDocuments){
|
|
||||||
$('#controls').css({left:'auto'});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user