Skip to content

Commit

Permalink
Refactor: Remove old js load more button code
Browse files Browse the repository at this point in the history
  • Loading branch information
Niclas Norin committed Sep 8, 2023
1 parent 8217813 commit ac39ece
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 127 deletions.
1 change: 0 additions & 1 deletion source/php/Module/Posts/Posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public function init()
$this->namePlural = __('Posts', 'modularity');
$this->description = __('Outputs selected posts in specified layout', 'modularity');

add_action('Modularity/Module/' . $this->moduleSlug . '/enqueue', array($this, 'enqueueScripts'));
add_action('add_meta_boxes', array($this, 'addColumnFields'));
add_action('save_post', array($this, 'saveColumnFields'));

Expand Down
125 changes: 0 additions & 125 deletions source/php/Module/Posts/assets/mod-posts-load-more-button.js

This file was deleted.

1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module.exports = {

//Modules
'js/mod-posts-taxonomy': './source/php/Module/Posts/assets/mod-posts-taxonomy.js',
'js/mod-posts-load-more-button': './source/php/Module/Posts/assets/mod-posts-load-more-button.js',
'js/mod-curator-load-more': './source/php/Module/Curator/assets/mod-curator-load-more.js',
'js/table-init': './source/php/Module/Table/assets/table-init.js',
'css/table': './source/php/Module/Table/assets/table.scss',
Expand Down

0 comments on commit ac39ece

Please sign in to comment.