Merge pull request #5 from solidspark/master

Point to the first object of $element's array
fix-space-nbsp
Dmitri Akatov 11 years ago
commit 60d6382192

@ -38,8 +38,8 @@ angular.module('contenteditable', [])
// the cursor disappears if the contents is empty
// so we need to refocus
$timeout(function(){
$element.blur()
$element.focus()
$element[0].blur()
$element[0].focus()
})
}
})