Skip to content

Commit

Permalink
Merge pull request #476 from helsingborg-stad/3.0/refactor/remove-js-…
Browse files Browse the repository at this point in the history
…load-more-button

Refactor: Remove old js load more button code
  • Loading branch information
NiclasNorin authored Sep 8, 2023
2 parents 08612ac + ac39ece commit 50f0ee6
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 50f0ee6

Please sign in to comment.