PageSourceSearch

https://rascalpowermobility.com/quform/js/scripts.js

js rascalpowermobility.com collected 2026-10-09 23:35:28 UTC 1,617 bytes, 61 lines download raw bytes

1'use strict';
2jQuery(function($) {
3	$('form.quform').Quform();
4
5	// Tooltips
6	if(window.tippy) {
7		$('.quform-tooltip').each(function () {
8			tippy(this, {
9				theme: 'quform'
10			});
11		});
12	}
13
14	// Changes subject to a text field when 'Other' is chosen
15	$('#subject').replaceSelectWithTextInput({ onValue: 'Other' });
16});
17
18(function ($) {
19	$(window).on('load', function () {
20		// Preload images
21		var images = [
22			'quform/images/close.png',
23			'quform/images/success.png',
24			'quform/images/error.png',
25			'quform/images/default-loading.gif'
26		];
27
28		// Preload images for any active themes
29		if ($('.quform-theme-light-light, .quform-theme-light-rounded').length) {
30			images = images.concat([
31				'quform/themes/light/images/button-active-bg-rep.png',
32				'quform/themes/light/images/close.png',
33				'quform/themes/light/images/input-active-bg-rep.png'
34			]);
35		}
36
37		if ($('.quform-theme-dark-dark, .quform-theme-dark-rounded').length) {
38			images = images.concat([
39				'quform/themes/dark/images/button-active-bg-rep.png',
40				'quform/themes/dark/images/close.png',
41				'quform/themes/dark/images/input-active-bg-rep.png',
42				'quform/themes/dark/images/loading.gif'
43			]);
44		}
45
46		if ($('.quform-theme-minimal-light').length) {
47			images = images.concat([
48				'quform/themes/minimal/images/close-light.png'
49			]);
50		}
51
52		if ($('.quform-theme-minimal-dark').length) {
53			images = images.concat([
54				'quform/themes/minimal/images/close-dark.png',
55				'quform/themes/minimal/images/loading-dark.gif'
56			]);
57		}
58
59		$.preloadImages(images);
60	});
61})(jQuery);

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.