mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Replace Bootstrap switch with Bootstrap4 toggle to improve the performance. Fixes #3051
This commit is contained in:
committed by
Akshay Joshi
parent
93234c86b7
commit
dae8186c2a
@@ -214,7 +214,7 @@ define('pgadmin.preferences', [
|
||||
onText: gettext('True'),
|
||||
offText: gettext('False'),
|
||||
onColor: 'success',
|
||||
offColor: 'default',
|
||||
offColor: 'primary',
|
||||
size: 'mini',
|
||||
};
|
||||
return 'switch';
|
||||
@@ -223,8 +223,9 @@ define('pgadmin.preferences', [
|
||||
onText: gettext('Show'),
|
||||
offText: gettext('Hide'),
|
||||
onColor: 'success',
|
||||
offColor: 'default',
|
||||
offColor: 'primary',
|
||||
size: 'mini',
|
||||
width: '56',
|
||||
};
|
||||
return 'switch';
|
||||
case 'integer':
|
||||
|
||||
Reference in New Issue
Block a user