Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// Suppress the quoting calibration nudge banner for the rest of the browser session
|
||||
// once the user dismisses it, so it doesn't reappear on every page visit.
|
||||
(function () {
|
||||
var nudge = document.getElementById('quotingCalibrationNudge');
|
||||
if (!nudge) return;
|
||||
|
||||
if (sessionStorage.getItem('quotingCalibrationDismissed')) {
|
||||
nudge.remove();
|
||||
return;
|
||||
}
|
||||
|
||||
nudge.addEventListener('close.bs.alert', function () {
|
||||
sessionStorage.setItem('quotingCalibrationDismissed', '1');
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user