Skip to content

Commit

Permalink
Remove comment-reply JS
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Mar 11, 2016
1 parent 2121030 commit d217ba6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/setup.php
Original file line number Diff line number Diff line change
@@ -87,10 +87,5 @@
*/
add_action('wp_enqueue_scripts', function () {
wp_enqueue_style('sage/css', asset_path('styles/main.css'), false, null);

if (is_single() && comments_open() && get_option('thread_comments')) {
wp_enqueue_script('comment-reply');
}

wp_enqueue_script('sage/js', asset_path('scripts/main.js'), ['jquery'], null, true);
}, 100);

0 comments on commit d217ba6

Please sign in to comment.