|
@ -198,7 +198,7 @@ var startImportFilePicker = function() { |
|
|
|
|
|
|
|
|
function exportUserRulesToFile() { |
|
|
function exportUserRulesToFile() { |
|
|
vAPI.download({ |
|
|
vAPI.download({ |
|
|
'url': 'data:text/plain,' + encodeURIComponent(rulesFromHTML('#diff .left li')), |
|
|
|
|
|
|
|
|
'url': 'data:text/plain,' + encodeURIComponent(rulesFromHTML('#diff .left li') + '\n'), |
|
|
'filename': uDom('[data-i18n="userRulesDefaultFileName"]').text() |
|
|
'filename': uDom('[data-i18n="userRulesDefaultFileName"]').text() |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|