Skip to content

Commit

Permalink
remote
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoladj77 committed Jan 17, 2025
1 parent 7fe2590 commit 1154537
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions includes/editor-templates/templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@
<script type="text/template" id="tmpl-elementor-template-library-templates">
<#
var activeSource = elementor.templates.getFilter('source');
const isRemote = activeSource.startsWith('remote');
#>
<div id="elementor-template-library-toolbar">
<# if ( 'remote' === activeSource ) {
<# if ( isRemote ) {
var activeType = elementor.templates.getFilter('type');
#>
<div id="elementor-template-library-filter-toolbar-remote" class="elementor-template-library-filter-toolbar">
Expand Down Expand Up @@ -128,7 +129,7 @@
</div>
<# } #>
<div id="elementor-template-library-templates-container"></div>
<# if ( 'remote' === activeSource ) { #>
<# if ( isRemote ) { #>
<div id="elementor-template-library-footer-banner">
<img class="elementor-nerd-box-icon" src="<?php
Utils::print_unescaped_internal_string( ELEMENTOR_ASSETS_URL . 'images/information.svg' );
Expand Down

0 comments on commit 1154537

Please sign in to comment.