403Webshell
Server IP : 87.98.154.146  /  Your IP : 216.73.216.165
Web Server : Apache
System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : ohklomafyi ( 52085)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ohklomafyi/www/wp-content/plugins/ooohboi-steroids-for-elementor/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ohklomafyi/www/wp-content/plugins/ooohboi-steroids-for-elementor/assets/js/tabbr.js
'use strict';

( function ( $, w ) {
    
    var $window = $( w ); 

    $window.on( 'elementor/frontend/init', function() {

        var ModuleHandler = elementorModules.frontend.handlers.Base, 
        Tabbr; 

        Tabbr = ModuleHandler.extend( {

            onInit: function() {
                ModuleHandler.prototype.onInit.apply( this, arguments );
                if( this.isTabbr() ) {
                    this.$element.addClass( 'ob-use-tabbr' );
                    this.run();
                } 
            },

            isTabbr: function() {
                return ( this.getElementSettings( '_ob_use_tabbr' ) === 'yes' );
            }, 

            onElementChange: function( changedProp ) {
                if( changedProp === '_ob_use_tabbr' ) { 
                    if( 'yes' === this.getElementSettings( '_ob_use_tabbr' ) ) {
                        this.$element.addClass( 'ob-use-tabbr' ); 
                        this.run();
                    }
                    else this.$element.removeClass( 'ob-use-tabbr' );
                }
            }, 

            run: function() {

                if( ! this.isTabbr() ) return; 

                // wrap .elementor-tab-title content with span
                if( this.$element.find( '.elementor-tabs-wrapper > .elementor-tab-title > span.ob-tabbr-tab-wrap' ).length ) return;
                this.$element.find( '.elementor-tabs-wrapper > .elementor-tab-title' ).wrapInner( '<span class="ob-tabbr-tab-wrap"></span>' );

            }, 
            
        } );

        var handlersList = {
            'tabs.default': Tabbr, 
        };

        $.each( handlersList, function( widgetName, handlerClass ) {
            elementorFrontend.hooks.addAction( 'frontend/element_ready/' + widgetName, function( $scope ) {
                elementorFrontend.elementsHandler.addHandler( handlerClass, { $element: $scope } );
            } );
        } );

    } ); 


} ( jQuery, window ) );

Youez - 2016 - github.com/yon3zu
LinuXploit