diff --git a/main/document/showinframes.php b/main/document/showinframes.php
index 959e4018d0..2734f40c96 100755
--- a/main/document/showinframes.php
+++ b/main/document/showinframes.php
@@ -330,10 +330,6 @@ echo '
';
$file_url = api_get_path(WEB_COURSE_PATH).$courseInfo['path'].'/document'.$header_file;
$file_url_web = $file_url.'?'.api_get_cidreq();
-if (in_array(strtolower($pathinfo['extension']), array('html', "htm"))) {
- echo '
'.get_lang('CutPasteLink').'';
-}
-
if ($show_web_odf) {
$browser = api_get_navigator();
$pdfUrl = api_get_path(WEB_LIBRARY_PATH).'javascript/ViewerJS/index.html#'.$file_url;
@@ -345,11 +341,6 @@ if ($show_web_odf) {
src="' . $pdfUrl.'">
';
echo '
';
-} elseif (!$originIsLearnpath) {
- // ViewerJS already have download button
- echo '';
- echo Display::toolbarButton(get_lang('Download'), $file_url_web, 'download', 'default', ['target' => '_blank']);
- echo '
';
}
echo '';