WordPress.org

Ready to get started?Download WordPress

Forums

Uji Countdown
Cannot disable redirection (2 posts)

  1. mbfirst
    Member
    Posted 10 months ago #

    I cannot disable the redirection after the countdown.
    I use this shortcode:
    [ujicountdown id="Free offer for 30" expire="2013/09/01 11:56" hide="true"]

    Where is the line in javascript code that does the redirect, so i can completely disable this functionality?

    http://wordpress.org/plugins/uji-countdown/

  2. mbfirst
    Member
    Posted 10 months ago #

    OK, i found the error.
    Its in:
    if (i && u > a) {
    window.location.replace(i)
    }
    That returns "true" even if the i == "false" !?
    And then the url to redirect is domain.com/false

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.