Fix URL shortener not working

Move URL shortener out of #pastelink as that is overwritten by the JS.

Fixes https://github.com/PrivateBin/PrivateBin/issues/280
This commit is contained in:
rugk 2018-02-21 22:28:56 +01:00
parent 99972b5f7b
commit 722d8ce7dd
No known key found for this signature in database
GPG key ID: 05D40A636AFAB34D

View file

@ -468,7 +468,7 @@ endif;
<div id="pastesuccess" role="alert" class="hidden alert alert-success">
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
<div id="deletelink"></div>
<div id="pastelink">
<div id="pastelink"></div>
<?php
if (strlen($URLSHORTENER)):
?>
@ -479,7 +479,6 @@ if (strlen($URLSHORTENER)):
endif;
?>
</div>
</div>
<ul id="editorTabs" class="nav nav-tabs hidden">
<li role="presentation" class="active"><a id="messageedit" href="#"><?php echo I18n::_('Editor'); ?></a></li>
<li role="presentation"><a id="messagepreview" href="#"><?php echo I18n::_('Preview'); ?></a></li>