Skip to content

Commit

Permalink
Update bootstrap-table-cookie.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin authored Jan 8, 2018
1 parent 9962c09 commit 34a5c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extensions/cookie/bootstrap-table-cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@
cookieExpire = undefined;
break;
}
if(!cookieExpire){
if (!cookieExpire) {
return '';
}
var d = new Date();
d.setTime(d.getTime() + cookieExpire*1000);
d.setTime(d.getTime() + cookieExpire * 1000);
return d.toGMTString();
};

Expand Down

0 comments on commit 34a5c65

Please sign in to comment.