Merged dLog replacement
This commit is contained in:
parent
f14c46c5d8
commit
e81fd52078
@ -21,7 +21,7 @@
|
||||
|
||||
<div ng-view></div>
|
||||
|
||||
<script type="text/javascript" src="vendor/console-polyfill.js"></script>
|
||||
<script type="text/javascript" src="vendor/console-polyfill/console-polyfill.js"></script>
|
||||
<script type="text/javascript" src="vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="vendor/jquery.nanoscroller/nanoscroller.js"></script>
|
||||
<script type="text/javascript" src="vendor/jquery.emojiarea/jquery.emojiarea.js"></script>
|
||||
|
@ -282,7 +282,6 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
|
||||
if (richTextarea) {
|
||||
scope.$watch('draftMessage.text', function (newVal) {
|
||||
console.log('on update', newVal);
|
||||
if (!newVal.length && !messageField.value.length) {
|
||||
$timeout(function () {
|
||||
updateField();
|
||||
@ -292,8 +291,6 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
}
|
||||
|
||||
function updateField () {
|
||||
console.log(scope.draftMessage);
|
||||
console.log('update field', scope.draftMessage.text);
|
||||
$(richTextarea).text(scope.draftMessage.text || '');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user