1
0
mirror of https://github.com/svg/svgo.git synced 2025-08-09 02:22:08 +03:00

stop cleanupIDs if there is style or script

This commit is contained in:
GreLI
2015-09-13 15:27:33 +03:00
parent 176d0329a4
commit c19511ef7a

View File

@@ -49,7 +49,7 @@ exports.fn = function(data, params) {
*/
function monkeys(items) {
for (var i = 0; i < items.content.length; i++) {
for (var i = 0; i < items.content.length && !hasStyleOrScript; i++) {
var item = items.content[i],
match;