diff --git a/main/inc/lib/nanogong.lib.php b/main/inc/lib/nanogong.lib.php
index 46d3d3a2d3..7c79bf4a77 100644
--- a/main/inc/lib/nanogong.lib.php
+++ b/main/inc/lib/nanogong.lib.php
@@ -420,17 +420,15 @@ class Nanogong {
function check_gong() {
//var record = document.getElementById("nanogong");
- var recorder;
-
+ var recorder;
var java_enabled = navigator.javaEnabled()
return java_enabled;
- }
-
+ }
function show_simple_upload_form() {
$("#no_nanogong_div").show();
- $("#nanogong_div").hide();
- $("#preview").hide();
+ //$("#nanogong_div").hide();
+ $("#preview").hide();
}
$(document).ready( function() {
@@ -537,8 +535,7 @@ class Nanogong {
//check browser support and load form
$array_browser = api_browser_support('check_browser');
- $preview_file = $this->show_audio_file(true, true);
-
+ $preview_file = $this->show_audio_file(true, true);
$preview_file = Display::div($preview_file, array('id' => 'preview', 'style' => 'text-align:center; padding-left: 25px;'));
@@ -547,17 +544,6 @@ class Nanogong {
//Use normal upload file
$html .= Display::return_icon('microphone.png', get_lang('PressRecordButton'),'', ICON_SIZE_BIG);
$html .='
';
-
-
- $html .= '