mirror of
https://github.com/vrana/adminer.git
synced 2025-08-24 15:12:51 +02:00
Fix saving schema to cookie in Opera and Firefox 4
This commit is contained in:
@@ -16,10 +16,10 @@ function toggle(id) {
|
||||
* @param number
|
||||
* @param string optional
|
||||
*/
|
||||
function cookie(assign, days, params) {
|
||||
function cookie(assign, days) {
|
||||
var date = new Date();
|
||||
date.setDate(date.getDate() + days);
|
||||
document.cookie = assign + '; expires=' + date + (params || '');
|
||||
document.cookie = assign + '; expires=' + date;
|
||||
}
|
||||
|
||||
/** Verify current Adminer version
|
||||
|
Reference in New Issue
Block a user