jquery_remember_state
jquery_remember_state copied to clipboard
Setting noticeDialog: false result doesn't match documentation
When I set noticeDialog to false I still get the default notice dialog. It looks like it's because of how the if statement is written on the following line. https://github.com/shaneriley/jquery_remember_state/blob/master/source/javascripts/jquery.remember-state.js#L118
if (!this.noticeDialog || !this.noticeDialog.length || !this.noticeDialog.jquery) {
this.noticeDialog = this._defaultNoticeDialog();
}