Lint Fixes

pull/146/head
cagataycivici 2020-01-13 12:07:21 +03:00
parent e40862e6f4
commit 07dbf2528c
2 changed files with 15 additions and 18 deletions

View File

@ -215,9 +215,6 @@ export default {
var max = Math.max(rgb.r, rgb.g, rgb.b);
var delta = max - min;
hsb.b = max;
if (max !== 0) {
}
hsb.s = max !== 0 ? 255 * delta / max : 0;
if (hsb.s !== 0) {
if (rgb.r === max) {
@ -327,7 +324,7 @@ export default {
alignOverlay() {
DomHandler.relativePosition(this.$refs.picker, this.$refs.input);
},
onInputClick(event) {
onInputClick() {
if (this.disabled) {
return;
}
@ -416,7 +413,7 @@ export default {
},
bindDocumentMouseUpListener() {
if (!this.documentMouseUpListener) {
this.documentMouseUpListener = (event) => {
this.documentMouseUpListener = () => {
this.colorDragging = false;
this.hueDragging = false;
DomHandler.removeClass(this.$el, 'p-colorpicker-dragging');