<?php
/*
Plugin Name: Auto Scroll Articles Pro (Fixed)
Description: Smooth auto scrolling with next post navigation and refresh fix.
Version: 1.1
Author: Hostegor
*/

if (!defined('ABSPATH')) exit;

function asap_enqueue_scripts_fixed() {
    if (is_single()) {
        wp_enqueue_script('asap-script-fixed', plugin_dir_url(__FILE__) . 'asap-script.js', array(), null, true);
    }
}
add_action('wp_enqueue_scripts', 'asap_enqueue_scripts_fixed');
