1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

#2969 - Forum template BS4 fixes for 'caret' class (dropdown buttons)

This commit is contained in:
Tijn Kuyper 2019-05-20 15:35:21 +02:00
parent 44626a0006
commit a7b0c92769
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2

View File

@ -1143,7 +1143,12 @@
$text = '<div class="btn-group">
' . $replyUrl . '
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
';
if(BOOTSTRAP !== 4)
{
$text .= '<span class="caret"></span>';
}
$text .= '
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu pull-right">