summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-widget-ms/widget-ms/src/main/resources
diff options
context:
space:
mode:
authorArtem Naluzhnyy <A.Naluzhnyy@samsung.com>2019-07-30 11:01:06 +0200
committerArtem Naluzhnyy <A.Naluzhnyy@samsung.com>2019-07-30 11:01:06 +0200
commit9d925b9493db22a8303f72f529ea9dd8e0317928 (patch)
tree7cce7979ed3e11d0f87abac9fbb5c8bee270abb8 /ecomp-portal-widget-ms/widget-ms/src/main/resources
parent9eaffe830b33e6405797596d991c7f49fe615a9b (diff)
Fix typo in isCssReady()
Coverity-scan: CID-192115 Issue-ID: PORTAL-16 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: If4aacbb6e7f2cdf6895a1ca6130247b8238414ef
Diffstat (limited to 'ecomp-portal-widget-ms/widget-ms/src/main/resources')
-rw-r--r--ecomp-portal-widget-ms/widget-ms/src/main/resources/framework-template.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-portal-widget-ms/widget-ms/src/main/resources/framework-template.js b/ecomp-portal-widget-ms/widget-ms/src/main/resources/framework-template.js
index 42e8c133..90d8174a 100644
--- a/ecomp-portal-widget-ms/widget-ms/src/main/resources/framework-template.js
+++ b/ecomp-portal-widget-ms/widget-ms/src/main/resources/framework-template.js
@@ -45,7 +45,7 @@ var ARGUMENT1 = (function(window, undefined) {
else if (node.currentStyle) {
value = node.currentStyle.color;
}
- if (value && value === 'rgb(186, 218, 85)' || value.toLowerCase() === ARGUMENT1.readyCssFlagExpectedValue) {
+ if (value && (value === 'rgb(186, 218, 85)' || value.toLowerCase() === ARGUMENT1.readyCssFlagExpectedValue)) {
callback();
} else {
setTimeout(poll, 500);