We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 598fc92 commit a77d696Copy full SHA for a77d696
public/js/lib/models/arrow.js
@@ -75,8 +75,8 @@ if (!('CSSArrowPlease' in window)) window.CSSArrowPlease = {};
75
css += '\tbackground: ' + color + ';\n';
76
77
if (hasBorder) {
78
- borderColor = this._sanitizeHexColors(borderColor);
79
- css += '\tborder: ' + borderWidth + 'px solid ' + borderColor + ';\n';
+ borderColor = this._sanitizeHexColors(borderColor);
+ css += '\tborder: ' + borderWidth + 'px solid ' + borderColor + ';\n';
80
}
81
82
css += '}\n';
@@ -217,7 +217,7 @@ if (!('CSSArrowPlease' in window)) window.CSSArrowPlease = {};
217
@protected
218
**/
219
_sanitizeHexColors: function(h) {
220
- return (h.charAt(0)==='#')?h:'#' + h;
+ return (h.charAt(0)==='#')?h:'#' + h;
221
},
222
223
/**
0 commit comments