Remove moot data-toggle="tooltip" (#2861)
Tooltips need to be manually initialized which didn't happen. Also, streamline tag indentation a bit
This commit is contained in:
22
index.html
22
index.html
@@ -838,15 +838,15 @@
|
||||
<h3 class="card-title">Direct Chat</h3>
|
||||
|
||||
<div class="card-tools">
|
||||
<span data-toggle="tooltip" title="3 New Messages" class="badge badge-primary">3</span>
|
||||
<span title="3 New Messages" class="badge badge-primary">3</span>
|
||||
<button type="button" class="btn btn-tool" data-card-widget="collapse">
|
||||
<i class="fas fa-minus"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-tool" data-toggle="tooltip" title="Contacts"
|
||||
data-widget="chat-pane-toggle">
|
||||
<button type="button" class="btn btn-tool" title="Contacts" data-widget="chat-pane-toggle">
|
||||
<i class="fas fa-comments"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-tool" data-card-widget="remove"><i class="fas fa-times"></i>
|
||||
<button type="button" class="btn btn-tool" data-card-widget="remove">
|
||||
<i class="fas fa-times"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1178,17 +1178,10 @@
|
||||
</h3>
|
||||
<!-- card tools -->
|
||||
<div class="card-tools">
|
||||
<button type="button"
|
||||
class="btn btn-primary btn-sm daterange"
|
||||
data-toggle="tooltip"
|
||||
title="Date range">
|
||||
<button type="button" class="btn btn-primary btn-sm daterange" title="Date range">
|
||||
<i class="far fa-calendar-alt"></i>
|
||||
</button>
|
||||
<button type="button"
|
||||
class="btn btn-primary btn-sm"
|
||||
data-card-widget="collapse"
|
||||
data-toggle="tooltip"
|
||||
title="Collapse">
|
||||
<button type="button" class="btn btn-primary btn-sm" data-card-widget="collapse" title="Collapse">
|
||||
<i class="fas fa-minus"></i>
|
||||
</button>
|
||||
</div>
|
||||
@@ -1285,7 +1278,8 @@
|
||||
<!-- button with a dropdown -->
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-success btn-sm dropdown-toggle" data-toggle="dropdown" data-offset="-52">
|
||||
<i class="fas fa-bars"></i></button>
|
||||
<i class="fas fa-bars"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu" role="menu">
|
||||
<a href="#" class="dropdown-item">Add new event</a>
|
||||
<a href="#" class="dropdown-item">Clear events</a>
|
||||
|
||||
Reference in New Issue
Block a user