Some missing semicolon on colorPicker

This commit is contained in:
Matias De lellis
2022-05-17 20:41:47 -03:00
parent d4a52abe52
commit 67db55d205

View File

@@ -1,3 +1,5 @@
'use strict';
function QnColorPick(parentSelector, onSelectColor) {
this._parentSelector = parentSelector;
@@ -23,12 +25,12 @@ function QnColorPick(parentSelector, onSelectColor) {
this.select = function (hexcolor) {
this._color = hexcolor;
}
};
this.close = function () {
var picker = document.getElementById("colorPickWrapper");
picker.remove();
}
};
this.show = function (hexcolor) {
var self = this;
@@ -47,7 +49,7 @@ function QnColorPick(parentSelector, onSelectColor) {
self.close ();
});
});
}
};
this.isVisible = function () {
var picker = document.getElementById("colorPickWrapper");