Skip to content

Commit

Permalink
Revert #500 to fix Lunr search (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Jul 25, 2022
1 parent c657157 commit c09d2fe
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 c09d2fe

Please sign in to comment.