Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
c7d2aca7
Commit
c7d2aca7
authored
Jun 27, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for firefox
parent
5c155e48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
jp4-viewer.js
src/jp4-viewer/jp4-viewer.js
+1
-4
No files found.
src/jp4-viewer/jp4-viewer.js
View file @
c7d2aca7
...
...
@@ -59,10 +59,7 @@ function handleImage(e) {
//data:image/jpeg;base64,
myimg
=
event
.
target
.
result
;
if
(
myimg
.
indexOf
(
"data:image"
)
==-
1
){
myimg
=
"data:image/jpeg;base64,"
+
myimg
.
substr
(
13
);
}
myimg
=
myimg
.
replace
(
/^data:;base64,/ig
,
"data:image/jpeg;base64,"
);
//console.log(SETTINGS.width);
...
...
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