Commit 1d7463a9 authored by ricardo-teixeira's avatar ricardo-teixeira

Comment changes

parent 4cfa6a37
......@@ -59,8 +59,7 @@ emojiApp.directive('contenteditable', [ '$sce', function($sce) {
// Write data to the model
function read() {
var html = element.html();
// When we clear the content editable the browser leaves a <br>
// behind
// When we clear the content editable the browser leaves a <br> behind
// If strip-br attribute is provided then we strip this out
if (attrs.stripBr && html == '<br>') {
html = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment