diff --git a/module/api/js/index.js b/module/api/js/index.js
index cbf004dddd..75ad3ae93d 100644
--- a/module/api/js/index.js
+++ b/module/api/js/index.js
@@ -42,7 +42,6 @@ $(document).ready(function()
$('li.has-list > ul, #fileTree').addClass("menu-active-primary menu-hover-primary");
- console.log(linkParams)
$('#fileTree').on('mousemove', 'a', function()
{
if($(this).data('type') == 'annex') return;
diff --git a/module/api/view/index.html.php b/module/api/view/index.html.php
index d80a652e44..e9768ff457 100644
--- a/module/api/view/index.html.php
+++ b/module/api/view/index.html.php
@@ -23,9 +23,9 @@
createLink('api', 'struct', "libID=$libID", 'html', true), " " . $lang->api->struct, '', "class='btn btn-link export' id='export'");
- if(common::hasPriv('api', 'releases')) echo html::a($this->createLink('api', 'releases', "libID=$libID", 'html', true), " " . $lang->api->releases, '', "class='btn btn-link export' id='export'");
- if(common::hasPriv('api', 'createRelease')) echo html::a($this->createLink('api', 'createRelease', "libID=$libID", 'html', true), " " . $lang->api->createRelease, '', "class='btn btn-link export' id='export'");
+ if(common::hasPriv('api', 'struct')) echo html::a($this->createLink('api', 'struct', "libID=$libID"), " " . $lang->api->struct, '', "class='btn btn-link'");
+ if(common::hasPriv('api', 'releases')) echo html::a($this->createLink('api', 'releases', "libID=$libID", 'html', true), " " . $lang->api->releases, '', "class='btn btn-link'");
+ if(common::hasPriv('api', 'createRelease')) echo html::a($this->createLink('api', 'createRelease', "libID=$libID", 'html', true), " " . $lang->api->createRelease, '', "class='btn btn-link iframe' data-width='800px'");
if(common::hasPriv('api', 'export')) echo html::a($this->createLink('api', 'export', "libID=$libID", 'html', true), " " . $lang->export, '', "class='btn btn-link export' id='export'");
if(common::hasPriv('api', 'createLib')) echo html::a($this->createLink('api', 'createLib', "objectTpye=$objectType&objectID=$objectID"), ' ' . $lang->api->createLib, '', 'class="btn btn-secondary iframe" data-width="800px"');
if(common::hasPriv('api', 'create')) echo html::a($this->createLink('api', 'create', "objectTpye=$objectType&objectID=$objectID"), ' ' . $lang->api->createApi, '', 'class="btn btn-primary"');