Fix issue where the tooltip on full URLs would not display

Added code to enable tooltips for full URLs on page load.
parent fd148b02
......@@ -27,6 +27,8 @@
$('.copy-button').tooltip('disable');
});
$('.trimmed').tooltip();
var clipboard = new ClipboardJS('.copy-button');
clipboard.on('success', function(e) {
......@@ -76,7 +78,8 @@
</div>
</th>
<td class="align-middle">
<a data-toggle="tooltip" data-placement="top" title="{{ $url->full_url }}">
<a class="trimmed" data-toggle="tooltip" data-placement="top"
title="{{ $url->full_url }}">
{{ \Illuminate\Support\Str::limit($url->full_url, 20, $end = '...') }}
</a>
</td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment