Browse Source

Merge branch 'master' of https://github.com/gorhill/uMatrix

pull/2/head
gorhill 9 years ago
parent
commit
d333eb96ea
  1. 2
      src/js/user-rules.js

2
src/js/user-rules.js

@ -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()
}); });
} }

Loading…
Cancel
Save