Fixed the issue with the click not opening the shortcut.

This commit is contained in:
deepjyoti30
2020-07-05 13:47:50 +05:30
parent cbfddba907
commit 41852129a6
2 changed files with 2 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ window.onload = function() {
}
debug = false; // Enable while testing on local
debug = true; // Enable while testing on local
searchBarDivId = "search-bar"
searchBarId = "search-bar-input"
messageDivId = "message"
@@ -230,7 +230,6 @@ function parseAndCreate(jsonData) {
// Extract the quicklinks from the sqrs
extractQuickLinks(sqrs);
console.log(validQuickLinks);
sqrs.forEach((element, index) => {
sqr = createSqr(element, index)
@@ -248,7 +247,6 @@ function createSqr(sqrData, index) {
// Sometimes, the user might not have set a value for the color,
// in which case it will be undefined.
colorValid = (color == undefined) ? false : isColorValid(color);
console.log(isColorValid(color));
div = document.createElement("div")
cls = document.createAttribute("class")