Skip to content

Commit e2ac109

Browse files
committed
Remove unnecessary CSS IDs
1 parent d6e318b commit e2ac109

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

src/js/popup.js

-7
Original file line numberDiff line numberDiff line change
@@ -586,10 +586,6 @@ function refreshPopup() {
586586
}
587587

588588
if (!originsArr.length) {
589-
// hide the number of trackers and slider instructions message
590-
// if no sliders will be displayed
591-
$("#instructions-many-trackers").hide();
592-
593589
// show "no trackers" message
594590
$("#instructions-no-trackers").show();
595591

@@ -675,9 +671,6 @@ function refreshPopup() {
675671
$('.tooltip').tooltipster();
676672

677673
if (POPUP_DATA.trackerCount === 0) {
678-
// hide multiple trackers message
679-
$("#instructions-many-trackers").hide();
680-
681674
// show "no trackers" message
682675
$("#instructions-no-trackers").show();
683676

src/skin/popup.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,8 @@ body#main #pbInstructions a:hover, #firstparty-protections-container a:hover {
320320
margin: 40px 0;
321321
padding: 0;
322322
}
323-
#instructions-many-trackers, #no-third-parties {
324-
display: block;
325-
}
326323
#no-third-parties {
324+
display: block;
327325
font-size: 12px;
328326
}
329327

src/skin/popup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h2 id="title-name"><span class="i18n_name"></span></h2>
123123

124124
<div id="firstparty-protections-container" style="display:none">
125125
<button class="toggle-header" id="firstparty-protections-header">
126-
<div class="toggle-header-title" id="instructions-firstparty-protections">
126+
<div class="toggle-header-title">
127127
<span class="i18n_popup_info_firstparty_protections popup_info"></span>
128128
</div>
129129
<span class="toggle-header-icon">

0 commit comments

Comments
 (0)