1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug AutoValidator js class

Discussion in 'Resolved Bug Reports' started by Nobita.Kun, May 2, 2015.

  1. Nobita.Kun

    Nobita.Kun Well-Known Member


    In document you said:
    data-optInOut: (Optional - default = OptOut)
    But in js you did:
    this.optInMode = this.$form.data('optinout') || 'optOut';
    I think it should be:
    this.optInMode = this.$form.data('optinout') || 'OptOut';
  2. Mike

    Mike XenForo Developer Staff Member

    The code is actually a boolean for OptIn so there's no difference between OptOut, optOut, and optWhateverOption here.

Share This Page