mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
Correct Select DOM generation
This commit is contained in:
@@ -22,7 +22,7 @@ angular.module('app').directive('componentSelect', ['$translate', function($tran
|
|||||||
list.push(' warning');
|
list.push(' warning');
|
||||||
}
|
}
|
||||||
|
|
||||||
list.push((o.maxmass && (mass + (o.mass ? o.mass : 0)) > o.maxmass) ? ' disabled"' : '" cpid="', id, '">');
|
list.push(((o.maxmass && (mass + (o.mass ? o.mass : 0)) > o.maxmass) ? ' disabled"' : '" cpid="' + id + '"'), '>');
|
||||||
|
|
||||||
if (o.mode) {
|
if (o.mode) {
|
||||||
list.push('<svg class="icon lg"><use xlink:href="#mount-', o.mode, '"></use></svg> ');
|
list.push('<svg class="icon lg"><use xlink:href="#mount-', o.mode, '"></use></svg> ');
|
||||||
|
|||||||
Reference in New Issue
Block a user