mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-28 12:56:34 -04:00
This commit is contained in:
@@ -86,9 +86,9 @@ function ClayConfig(settings, config, $rootContainer, meta) {
|
||||
// set the value of the item via the manipulator to ensure consistency
|
||||
var value = typeof _settings[_item.messageKey] !== 'undefined' ?
|
||||
_settings[_item.messageKey] :
|
||||
(_item.defaultValue || '');
|
||||
_item.defaultValue;
|
||||
|
||||
clayItem.set(value);
|
||||
clayItem.set(typeof value !== 'undefined' ? value : '');
|
||||
|
||||
$container.add(clayItem.$element);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user