mirror of
https://github.com/smittix/intercept.git
synced 2026-07-22 16:18:11 -07:00
fix(bluetooth): update filter container ID to btFilterGroup, document sticky offset
This commit is contained in:
@@ -4983,6 +4983,7 @@ header h1 .tagline {
|
|||||||
background: var(--bg-primary);
|
background: var(--bg-primary);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
/* 44px = height of the sticky .wifi-device-list-header above this row */
|
||||||
top: 44px;
|
top: 44px;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ const BluetoothMode = (function() {
|
|||||||
*/
|
*/
|
||||||
function initDeviceFilters() {
|
function initDeviceFilters() {
|
||||||
if (filterListenersBound) return;
|
if (filterListenersBound) return;
|
||||||
const filterContainer = document.getElementById('btDeviceFilters');
|
const filterContainer = document.getElementById('btFilterGroup');
|
||||||
if (filterContainer) {
|
if (filterContainer) {
|
||||||
filterContainer.addEventListener('click', (e) => {
|
filterContainer.addEventListener('click', (e) => {
|
||||||
const btn = e.target.closest('.bt-filter-btn');
|
const btn = e.target.closest('.bt-filter-btn');
|
||||||
|
|||||||
Reference in New Issue
Block a user