Skip to content

Commit a4f763f

Browse files
authored
Disabled adding of Unicode BOM in .sh script
1 parent 37fb3ef commit a4f763f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

js/controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ app.controller('nc', function($location, $anchorScroll, $scope) {
180180

181181
$scope.makeDownload = function(text, filename) {
182182
var blob = new Blob([text], {type: "text/plain;charset=utf-8"});
183-
saveAs(blob, filename);
183+
saveAs(blob, filename, true);
184184
};
185185

186186
$scope.generateScript = function(nk, li) {
@@ -243,4 +243,4 @@ app.controller('nc', function($location, $anchorScroll, $scope) {
243243
}
244244
};
245245

246-
});
246+
});

0 commit comments

Comments
 (0)