Commit 21cb938a authored by Téo Vasseur's avatar Téo Vasseur
Browse files

list.js : replace custom name with clone code, remove ending newlines

The 'title' attribute is changed, so as to display the original name of the clone when hovered over
parent 519f37b7
Pipeline #1447 passed with stages
in 2 minutes and 20 seconds
......@@ -469,7 +469,7 @@ List.prototype = {
if (typeof span_name == "undefined") return false;
if (typeof span_name == "undefined") console.log(cloneID);
span_name.innerHTML = clone.getShortName();
span_name.title = clone.getName();
span_name.title = clone.getCode();
span_name.style.color = clone.getColor();
//update star color
......@@ -844,11 +844,3 @@ List.prototype = {
} //fin prototype
List.prototype = $.extend(Object.create(View.prototype), List.prototype);
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