Skip to content

Commit 28110a4

Browse files
committed
Merge branch 'master' into gh-pages
Conflicts: assets/css/application.css assets/css/application.scss
2 parents c1cc99e + d72bf2b commit 28110a4

4 files changed

+5
-5
lines changed

assets/css/application.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ pre {
3939
font-family: 'Source Code Pro', sans-serif;
4040
font-size: 14px;
4141
border-radius: 15px;
42-
width: 100%;
4342
overflow-x: scroll;
43+
width: 100%;
4444
box-sizing: border-box;
4545
-o-box-sizing: border-box;
4646
-ms-box-sizing: border-box;

assets/css/application.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ pre {
4747
font-family: 'Source Code Pro', sans-serif;
4848
font-size: 14px;
4949
border-radius: 15px;
50-
width: 100%;
5150
overflow-x: scroll;
51+
width: 100%;
5252
box-sizing: border-box;
5353
-o-box-sizing: border-box;
5454
-ms-box-sizing: border-box;

assets/js/jquery.uploadPreview.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
if (window.File && window.FileList && window.FileReader) {
1717
if (typeof($(settings.input_field)) !== 'undefined' && $(settings.input_field) !== null) {
1818
$(settings.input_field).change(function() {
19-
var files = event.target.files;
19+
var files = this.files;
2020

2121
if (files.length > 0) {
2222
var file = files[0];
@@ -67,4 +67,4 @@
6767
}
6868
}
6969
});
70-
})(jQuery);
70+
})(jQuery);

assets/js/jquery.uploadPreview.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)