Commit f49cb3a0 authored by flothoni's avatar flothoni
Browse files

model.js; put a div modification into a try loop

This allow to not create error at qunit
link to #3689
parent 6e40151e
......@@ -890,12 +890,17 @@ changeAlleleNotation: function(alleleNotation) {
*/
colorize_multitag_star_icon: function(){
var color = this.getColorSelectedClone()
try {
// put it in a try to not create errors on qunit
var div = document.getElementById("tag_icon__multiple")
if (color){
div.style.color = color;
} else {
div.style.color = ""
}
} catch {
// ne rien faire.
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment