Skip to content

Commit

Permalink
Revert google#500 to fix Lunr search (google#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored and fekete-robert committed Sep 13, 2022
1 parent 41073c9 commit 83c2354
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions assets/js/offline-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,8 @@
});
});

// Enable inline styles in popover.
const whiteList = $.fn.tooltip.Constructor.Default.whiteList;
whiteList['*'].push('style');

$targetSearchInput
.data('content', $html[0].outerHTML)
.popover({ whiteList: whiteList })
.popover('show');
};
});
Expand Down

0 comments on commit 83c2354

Please sign in to comment.