mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-25 18:51:42 +02:00
@@ -386,8 +386,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
this.settings = {};
|
||||
|
||||
// Reset options
|
||||
debugbar.options = debugbar.defaultOptions;
|
||||
debugbar.setTheme(debugbar.options.theme);
|
||||
debugbar.options = { ...debugbar.defaultOptions };
|
||||
|
||||
// Reset ajax handler
|
||||
if (debugbar.ajaxHandler) {
|
||||
@@ -398,6 +397,8 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
debugbar.controls['__datasets'].get('widget').set('autoshow', $(this).is(':checked'));
|
||||
}
|
||||
}
|
||||
|
||||
this.initialize(debugbar.options);
|
||||
},
|
||||
|
||||
storeSetting: function(key, value) {
|
||||
|
Reference in New Issue
Block a user