From f8263246629f4fe589d1fafec1fe230a9fa27b27 Mon Sep 17 00:00:00 2001 From: AlexeyMatveev686 Date: Wed, 17 May 2023 17:00:59 +0300 Subject: [PATCH] [marketplace] Fix some typos and add click handler on raiting div. --- store/index.html | 4 ++-- store/resources/css/styles.css | 4 ++-- store/scripts/code.js | 9 +++++++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/store/index.html b/store/index.html index e0c87a78..a93438a0 100644 --- a/store/index.html +++ b/store/index.html @@ -78,8 +78,8 @@
- diff --git a/store/resources/css/styles.css b/store/resources/css/styles.css index 6d8f0ad5..daeeb08b 100644 --- a/store/resources/css/styles.css +++ b/store/resources/css/styles.css @@ -447,7 +447,7 @@ label.header { height: 15px; } -.div_raiting { +.div_rating { color: #FF6F3D; font-size: 14px; } @@ -466,5 +466,5 @@ label.header { } .div_link { - cursor: pointer; + cursor: pointer !important; } \ No newline at end of file diff --git a/store/scripts/code.js b/store/scripts/code.js index f7773a85..1b331288 100644 --- a/store/scripts/code.js +++ b/store/scripts/code.js @@ -185,6 +185,10 @@ window.onload = function() { elements.inpSearch.addEventListener('input', function(event) { makeSearch(event.target.value.trim().toLowerCase()); }); + + elements.divRatingLink.onclick = function(event) { + console.log('click', event); + }; }; window.addEventListener('message', function(message) { @@ -476,6 +480,7 @@ function initElemnts() { elements.arrowNext = document.getElementById('arrow_next'); elements.inpSearch = document.getElementById('inp_search'); elements.btnUpdateAll = document.getElementById('btn_updateAll'); + elements.divRatingLink = document.getElementById('') }; function toogleLoader(show, text) { @@ -720,7 +725,7 @@ function createPluginDiv(plugin, bInstalled) { '' + '