Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
lfuhr authored Jan 30, 2018
1 parent 39f47ed commit 7b27201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngDocEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ var ngDocEdit = angular.module("ngDocEdit", [])
element = div
}
// if(scope.readonly) { element.attr('contenteditable', false) }
scope.$watch('readonly', function(){console.log('watch');element.attr('contenteditable', !scope.readonly)})
scope.$watch('readonly', function(){element.attr('contenteditable', !scope.readonly)})
function read() {
ngModel.$setViewValue(element.html() || undefined)
}
Expand Down

0 comments on commit 7b27201

Please sign in to comment.