PageSourceSearch

https://edusoft.co.nz/wp-content/plugins/mas-addons/assets/js/widgets/tabs.js

js edusoft.co.nz collected 2026-10-03 20:09:56 UTC 1,094 bytes, 32 lines download raw bytes

1(function ($) {
2    "use strict";
3
4    var Addons_Tab = function ($scope, $) {
5        $scope.find('ul.tabs li').on('click', function () {
6            var tab_id = $(this).attr('data-tab');
7            $scope.find('ul.tabs li').removeClass('current');
8            $scope.find('.mas-addons-tab-content-single').removeClass('current');
9            $(this).addClass('current');
10            $scope.find("#" + tab_id).addClass('current');
11        })
12        if ($.fn.magnificPopup) {
13            $('.mas-addons-elm-edit').magnificPopup({
14                type: 'iframe',
15                mainClass: 'mfp-fade mas-addons-elm-edit-popup',
16                callbacks: {
17                    open: function () {
18                    },
19                    close: function () {
20                        location.reload();
21
22                    }
23                }
24            });
25        }
26    };
27
28    $(window).on("elementor/frontend/init", function () {
29        elementorFrontend.hooks.addAction("frontend/element_ready/mas-addons-tab.default", Addons_Tab);
30    });
31
32})(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.