mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
fixed javascript error "max is undefined"
This commit is contained in:
parent
dfb1be231d
commit
17b8bfcc95
@ -195,7 +195,7 @@ egw.extend('debug', egw.MODULE_GLOBAL, function(_app, _wnd) {
|
||||
|
||||
if (!window.localStorage) return false;
|
||||
|
||||
max = MAX_LOGS;
|
||||
var max = MAX_LOGS;
|
||||
// check if we have more log entries then allowed, happens if MAX_LOGS get changed in code
|
||||
if (window.localStorage[LASTLOG] > MAX_LOGS)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user