Skip to content

Commit

Permalink
smaller changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoladj77 committed Jun 19, 2024
1 parent 9f6da6b commit f480886
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/dev/js/frontend/elements-handlers-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = function( $ ) {
}

if ( elementorFrontendConfig.experimentalFeatures[ 'floating-buttons' ] ) {
this.elementsHandlers[ 'contact-buttons.default' ] = () => import( /* webpackChunkName: 'floating-buttons' */ 'elementor/modules/floating-buttons/assets/js/frontend/handlers/floating-buttons' );
this.elementsHandlers[ 'floating-buttons.default' ] = () => import( /* webpackChunkName: 'floating-buttons' */ 'elementor/modules/floating-buttons/assets/js/frontend/handlers/floating-buttons' );
}

const addGlobalHandlers = () => elementorFrontend.hooks.addAction( 'frontend/element_ready/global', globalHandler );
Expand Down
4 changes: 2 additions & 2 deletions modules/floating-buttons/base/widget-floating-button-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
abstract class Widget_Floating_Button_Base extends Widget_Base {

const TAB_ADVANCED = 'advanced-tab-floating-buttons';
/*

public function show_in_panel() {
return false;
}

public function hide_on_search() {
return true;
}*/
}

public static function get_configuration() {
return [
Expand Down
2 changes: 1 addition & 1 deletion modules/floating-buttons/widgets/floating-buttons.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class Floating_Buttons extends Widget_Floating_Button_Base {

public function get_name(): string {
return 'contact-buttons';
return 'floating-buttons';
}

public function get_title(): string {
Expand Down

0 comments on commit f480886

Please sign in to comment.