Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
angular-emoji-popup
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
angular-emoji-popup
Commits
1d7463a9
Commit
1d7463a9
authored
Apr 14, 2016
by
ricardo-teixeira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment changes
parent
4cfa6a37
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app.js
src/js/app.js
+1
-2
No files found.
src/js/app.js
View file @
1d7463a9
...
...
@@ -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
=
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment