PageSourceSearch

https://www.ohgolfcarts.com/portals/ohgolfcarts/skins/ohgolfcarts-aether//js/custom.js?cdv=1372

js ohgolfcarts.com collected 2026-10-07 04:28:48 UTC 1,053 bytes, 35 lines download raw bytes

1/*! Disable links inside a "fax" span */
2$("span.fax a, span.fax").click(function (event) {
3    event.preventDefault();
4});
5
6
7// Replace placeholder text for header search bar
8$(document).ready(function() {
9  function updatePlaceholder() {
10    var $searchInput = $('.aether #dnn_HeaderSearch input.form-control');
11    if ($(window).width() >= 1200) { // Desktop
12      $searchInput.attr('placeholder', 'Search Inventory');
13    } else { // Mobile
14      $searchInput.attr('placeholder', 'Search in-stock vehicles');
15    }
16  }
17
18  updatePlaceholder();
19  $(window).resize(updatePlaceholder);
20});
21
22
23// Check if Slideshow is Hidden
24$(document).ready(function() {
25  $('.slider-wrap').each(function() {
26    var slideshow = $(this).find('.dx1-slideshow-container');
27    if (!slideshow.is(':visible')) {
28      $(this).addClass('slider-is-hidden');
29    }
30  });
31}); 
32
33
34// NOTE: Script to change "All Types" to "All Locations" in showroom search form
35// is located in Site Settings > Site Behavior > Page Output Settings > Head Tags

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.