Skip to content

Commit

Permalink
Merge branch 'hotfix/content-autofill'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriangalliat committed Mar 16, 2015
2 parents 36709fc + 399bbd0 commit 3a8a00e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,7 +21,7 @@
"url": "https://twitter.com/pascalduez"
}
],
"version": "2.1.4",
"version": "2.1.5",
"license": {
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/annotation/annotations/content.js
Expand Up @@ -7,7 +7,7 @@ export default function content() {
},

autofill(item) {
if (item.context.code.indexOf('@content') > -1) {
if (!item.content && item.context.code.indexOf('@content') > -1) {
return '';
}
},
Expand Down

0 comments on commit 3a8a00e

Please sign in to comment.