PageSourceSearch

https://asialearnhub.com/wp-content/plugins/designthemes-lms/assets/js/login-logout.js?ver=7.1

js asialearnhub.com collected 2026-10-06 19:30:05 UTC 1,337 bytes, 62 lines download raw bytes

1var dtLMSLoginLogout = {
2
3	dtInit : function() {
4
5		jQuery( 'body' ).delegate( '.dtlms-login-link', 'click', function(e){
6
7			jQuery.ajax({
8				type: "POST",
9				url: lmsfrontendobject.ajaxurl,
10				data:
11				{
12					action: 'dtlms_show_login_form_popup',
13				},
14				success: function (response) {
15
16					jQuery('body').find('.dtlms-login-form-container').remove();
17					jQuery('body').find('.dtlms-login-form-overlay').remove();
18					jQuery('body').append(response);
19
20					jQuery('#user_login').focus();
21
22				}
23			});
24
25			e.preventDefault();
26
27		});
28
29		jQuery( 'body' ).delegate( '.dtlms-login-form-overlay', 'click', function(e){
30
31			jQuery('body').find('.dtlms-login-form-container').fadeOut();
32			jQuery('body').find('.dtlms-login-form-overlay').fadeOut();
33
34			e.preventDefault;
35
36		});
37
38	}
39
40};
41
42jQuery(document).ready(function() {
43
44	if(!lmsfrontendobject.elementorPreviewMode) {
45		dtLMSLoginLogout.dtInit();
46	}
47
48});
49
50( function( $ ) {
51
52	var dtLMSLoginLogoutJs = function($scope, $){
53		dtLMSLoginLogout.dtInit();
54	};
55
56    $(window).on('elementor/frontend/init', function(){
57		if(lmsfrontendobject.elementorPreviewMode) {
58			elementorFrontend.hooks.addAction('frontend/element_ready/dtlms-widget-default-login-logout-links.default', dtLMSLoginLogoutJs);
59		}
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.