|
|
|
@ -184,7 +184,7 @@
|
|
|
|
var clearOldFocusStyle = function () {
|
|
|
|
var clearOldFocusStyle = function () {
|
|
|
|
if (currentComponent && !isScreen(currentComponent.type)) {
|
|
|
|
if (currentComponent && !isScreen(currentComponent.type)) {
|
|
|
|
let el = $(currentComponent.el).find('.grid-stack-item-content');
|
|
|
|
let el = $(currentComponent.el).find('.grid-stack-item-content');
|
|
|
|
el.css('background', '');
|
|
|
|
el.css('background', 'none');
|
|
|
|
if (currentComponent.image) {
|
|
|
|
if (currentComponent.image) {
|
|
|
|
el.find('img').attr('src', currentComponent.image);
|
|
|
|
el.find('img').attr('src', currentComponent.image);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|