fixed javascript error "max is undefined"

This commit is contained in:
Ralf Becker 2014-02-12 16:36:51 +00:00
parent dfb1be231d
commit 17b8bfcc95

View File

@ -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)
{