truonglv Well-known member May 2, 2015 #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';
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 May 8, 2015 #2 The code is actually a boolean for OptIn so there's no difference between OptOut, optOut, and optWhateverOption here.
The code is actually a boolean for OptIn so there's no difference between OptOut, optOut, and optWhateverOption here.