Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Merge pull request #72 from SasakiYasai/issues-58
Browse files Browse the repository at this point in the history
nullでなく空文字で判定でした。
  • Loading branch information
attakei authored May 13, 2019
2 parents 3e680e9 + cbc2732 commit 6196ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/article/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
return '![' + attachment.original_name + ']' + '(' + attachment.url + ')'
}
this.on('mount', function() {
if (opts.articleId != null){
if (opts.articleId != ''){
self = this;
$.ajax({
url: '/attachments?articleId='+opts.articleId,
Expand Down

0 comments on commit 6196ed8

Please sign in to comment.