PageSourceSearch

https://healingstreams.org/new/js/theme.js

js healingstreams.org collected 2026-09-27 03:37:30 UTC 2,134 bytes, 62 lines download raw bytes

1/*
2================================================================
3* Template:  	 Oxyy - Login and Register Form Html Templates
4* Written by: 	 Harnish Design - (http://www.harnishdesign.net)
5* Description:   Main Custom Script File
6================================================================
7*/
8
9
10(function ($) {
11	"use strict";
12
13// Preloader
14$(window).on('load', function () {
15	$('.lds-ellipsis').fadeOut(); // will first fade out the loading animation
16	$('.preloader').delay(333).fadeOut('slow'); // will fade out the white DIV that covers the website.
17	$('body').delay(333);
18});
19
20
21// OTP Form (Focusing on next input)
22$("#otp-screen .form-control").keyup(function() {  
23if (this.value.length == 0) {
24   $(this).blur().parent().prev().children('.form-control').focus();
25   $(this).blur().prev('.form-control').focus();
26}
27else if (this.value.length == this.maxLength) {
28   $(this).blur().parent().next().children('.form-control').focus();
29   $(this).blur().next('.form-control').focus();
30}
31});
32
33
34/*---------------------------------------------------
35    YouTube video to autoplay in modal
36----------------------------------------------------- */
37// Gets the video src from the data-src on each button
38var $videoSrc;
39$('.video-btn').on('click', function() {
40    $videoSrc = $(this).data( "src" );
41});
42console.log($videoSrc);
43// when the modal is opened autoplay it  
44$('#videoModal').on('shown.bs.modal', function (e) {
45// set the video src to autoplay and not to show related video. Youtube related video is like a box of chocolates...you never know what you're gonna get
46$("#video").attr('src',$videoSrc + "?autoplay=1&modestbranding=1&showinfo=0&rel=0" ); 
47})
48// stop playing the youtube video when I close the modal
49$('#videoModal').on('hide.bs.modal', function (e) {
50    $("#video").attr('src',$videoSrc); 
51})
52
53
54/*------------------------
55   tooltips
56-------------------------- */
57var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
58var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
59  return new bootstrap.Tooltip(tooltipTriggerEl)
60})
61
62})(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.