Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandao committed Feb 15, 2015
1 parent 3bf285a commit 793528d
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 17 deletions.
6 changes: 1 addition & 5 deletions dist/js/editormd.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-02-15
* @updateTime 2015-02-16
*/

/**
Expand Down Expand Up @@ -964,10 +964,6 @@
imageDialog.loading(true);

var submitHandler = function() {
if (settings.crossDomainUpload) {
imageDialog.loading(false);
return ;
}

var uploadIframe = document.getElementById(iframeName);

Expand Down
6 changes: 3 additions & 3 deletions dist/js/editormd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-02-15
* @updateTime 2015-02-16
*/

(function(){
Expand Down
2 changes: 1 addition & 1 deletion dist/js/languages/en.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/languages/zh-tw.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-02-15
* @updateTime 2015-02-16
*/

(function(){
Expand Down
2 changes: 1 addition & 1 deletion dist/js/languages/zh-tw.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion examples/image-cross-domain-upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<header>
<h1>图片跨域上传示例</h1>
<p>Image cross-domain upload example.</p>
<p>由于复印件</p>
</header>
<div id="test-editormd">
<textarea style="display:none;">####跨域上传原理
Expand Down
Binary file added examples/uploads/2015-02-10_012232.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions src/js/editormd.js
Original file line number Diff line number Diff line change
Expand Up @@ -953,10 +953,6 @@
imageDialog.loading(true);

var submitHandler = function() {
if (settings.crossDomainUpload) {
imageDialog.loading(false);
return ;
}

var uploadIframe = document.getElementById(iframeName);

Expand Down

0 comments on commit 793528d

Please sign in to comment.