mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Some missing semicolon on colorPicker
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
function QnColorPick(parentSelector, onSelectColor) {
|
function QnColorPick(parentSelector, onSelectColor) {
|
||||||
|
|
||||||
this._parentSelector = parentSelector;
|
this._parentSelector = parentSelector;
|
||||||
@@ -23,12 +25,12 @@ function QnColorPick(parentSelector, onSelectColor) {
|
|||||||
|
|
||||||
this.select = function (hexcolor) {
|
this.select = function (hexcolor) {
|
||||||
this._color = hexcolor;
|
this._color = hexcolor;
|
||||||
}
|
};
|
||||||
|
|
||||||
this.close = function () {
|
this.close = function () {
|
||||||
var picker = document.getElementById("colorPickWrapper");
|
var picker = document.getElementById("colorPickWrapper");
|
||||||
picker.remove();
|
picker.remove();
|
||||||
}
|
};
|
||||||
|
|
||||||
this.show = function (hexcolor) {
|
this.show = function (hexcolor) {
|
||||||
var self = this;
|
var self = this;
|
||||||
@@ -47,7 +49,7 @@ function QnColorPick(parentSelector, onSelectColor) {
|
|||||||
self.close ();
|
self.close ();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
this.isVisible = function () {
|
this.isVisible = function () {
|
||||||
var picker = document.getElementById("colorPickWrapper");
|
var picker = document.getElementById("colorPickWrapper");
|
||||||
|
|||||||
Reference in New Issue
Block a user