• Last lines in wcfm-script-core.js:

    var audio = new Audio(wcfm_notification_sound);
    var wcfm_notification_sound = new Audio(wcfm_notification_sound);
    var wcfm_desktop_notification_sound = new Audio(wcfm_desktop_notification_sound);
    

    Last lines in the minified (and enqueued) version:

    var audio = new Audio(wcfm_notification_sound.file);
    var wcfm_notification_sound = new Audio(wcfm_notification_sound.file);
    var wcfm_desktop_notification_sound = new Audio(wcfm_desktop_notification_sound.file);
    

    ? Uncaught TypeError: Cannot read property ‘file’ of undefined

    • This topic was modified 3 years, 7 months ago by Azragh.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Js files are not minified correctly’ is closed to new replies.