Skip to content

Setting noticeDialog: false result doesn't match documentation #16

Description

@tayeke

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();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions