• 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

Nobita.Kun

Well-known member
#1
Hi.

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

Mike

XenForo developer
Staff member
#2
The code is actually a boolean for OptIn so there's no difference between OptOut, optOut, and optWhateverOption here.