jquery_remember_state icon indicating copy to clipboard operation
jquery_remember_state copied to clipboard

Setting noticeDialog: false result doesn't match documentation

Open tayeke opened this issue 10 years ago • 0 comments

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

tayeke avatar Sep 06 '14 00:09 tayeke