mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Fix svg click bug in Chrome
This commit is contained in:
@@ -21,7 +21,7 @@ angular.module('app').directive('componentSelect', function() {
|
|||||||
list.push((o.maxmass && mass > o.maxmass) ? ' disabled"' : '" cpid="', id, '">');
|
list.push((o.maxmass && mass > o.maxmass) ? ' disabled"' : '" cpid="', id, '">');
|
||||||
|
|
||||||
if (o.mode) {
|
if (o.mode) {
|
||||||
list.push('<svg cpid="', id, '" class="icon lg"><use xlink:href="#mount-', o.mode, '"></use></svg> ');
|
list.push('<svg cpid="', id, '" class="icon lg"><use cpid="', id, '" xlink:href="#mount-', o.mode, '"></use></svg> ');
|
||||||
}
|
}
|
||||||
|
|
||||||
list.push(o.class, o.rating);
|
list.push(o.class, o.rating);
|
||||||
|
|||||||
Reference in New Issue
Block a user