Skip to content

Commit cca4a33

Browse files
committed
Merge pull request #24 from jascmm/patch-1
Update angular-csv-import.js
2 parents af0c7fd + 0641845 commit cca4a33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dist/angular-csv-import.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ csvImport.directive('ngCsvImport', function() {
1414
header: '=',
1515
headerVisible: '=',
1616
separator: '=',
17+
separatorVisible: '=',
1718
result: '='
1819
},
1920
template: '<div><div ng-show="header && headerVisible"><div class="label">Header</div><input type="checkbox" ng-model="header"></div>'+
20-
'<div ng-show="separator" ><div class="label">Seperator</div><input type="text" ng-change="changeSeparator" ng-model="separator"></div>'+
21+
'<div ng-show="separator && separatorVisible"" ><div class="label">Seperator</div><input type="text" ng-change="changeSeparator" ng-model="separator"></div>'+
2122
'<div><input class="btn cta gray" type="file"/></div></div>',
2223
link: function(scope, element) {
2324
element.on('keyup', function(e){

0 commit comments

Comments
 (0)