Permalink
Browse files

Removed empty space from colors selector on Notes dialog

  • Loading branch information...
1 parent e65c397 commit f0dc9d801c65bcc870bba018527324c188145f5f @k-joseph k-joseph committed Aug 19, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 omod/src/main/webapp/fragments/searchSavingSection.gsp
@@ -692,7 +692,7 @@
function addPersonalColorsToSelectColorElement() {
if(pColors !== undefined && pColors !== "null") {
for(i = 0; i < pColors.length; i++) {
- if(pColors[i] !== null) {
+ if(pColors[i] !== null && pColors[i] !== "") {
jq("#new-note-color").append("<option>" + pColors[i] + "</option>");
}
}

0 comments on commit f0dc9d8

Please sign in to comment.