William Hill Sportsbook | Caesars Southern Indiana Casino
<![CDATA[ try { const dbRequest = indexedDB.open('localforage'); dbRequest.onerror = function (event) { console.log(“IndexedDB not allowed”); }; dbRequest.onsuccess = function (event) { const db = event.target.result; const transaction = db.transaction(['keyvaluepairs'], 'readwrite'); const objectStore = transaction.objectStore('keyvaluepairs'); const request = objectStore.get('persist:interactive-booking-engine'); request.onerror = function (event) { console.log('Error!', event); }; request.onsuccess = function (event) { const data = JSON.parse(request.result); const booking = JSON.parse(data.booking); booking.activeSearchSummary.isEditing = false; data.booking = JSON.stringify(booking); const requestUpdate = objectStore.put(data, 'persist:interactive-booking-engine'); requestUpdate.onerror = function (event) { console.log('Error updating:', event); }; requestUpdate.onsuccess = function (event) { console.log('Successfully isEditing set to false'); }; }; }; } catch(err) { console.log('IndexedDB error', err); } window.globalBookerOverrides = { propertyCode: 'uel' }; window.enableGlobalBooker = true; $.get( '/book/index.html', function (data) { const scripts = $(data).filter('script:contains(“webpack”), script[src*=”/static/js”]'); for (var i = 0; i = 0; i–) cb(a[i], i); }; var _notEmpty = function (a) { return a && a.length > 0; }; function _debounce(a, b, c) { var d; return function () { var e = this, f = arguments; clearTimeout(d), d = setTimeout(function () { d = null, c || a.apply(e, f) }, b), c && !d && a.apply(e, f) } } var LazyLoader = { isElementInViewport: function (el, windowHeight) { var rect = el.getBoundingClientRect(); return rect.bottom >= 0 – SCROLL_THRESHOLD && rect.top
Source