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
fa73d623
Commit
fa73d623
authored
May 20, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated for newer version of jquery-jp4.js
parent
2d52ff11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.php
src/index/index.php
+2
-2
No files found.
src/index/index.php
View file @
fa73d623
...
@@ -249,8 +249,8 @@
...
@@ -249,8 +249,8 @@
$
(
'.port_preview'
).
each
(
function
(){
$
(
'.port_preview'
).
each
(
function
(){
index
=
parseInt
(
$
(
this
).
attr
(
"index"
));
index
=
parseInt
(
$
(
this
).
attr
(
"index"
));
if
(
jp4_previews_enable
)
{
if
(
jp4_previews_enable
)
{
jp4_previews
[
index
]
=
$
(
this
).
jp4
({
ip
:
location
.
host
,
port
:
2323
+
index
,
width
:
300
,
fast
:
true
,
lowres
:
4
});
//
jp4_previews[index] = $(this).jp4({ip:location.host,port:2323+index,width:300,fast:true,lowres:4});
//
jp4_previews[index] = $(this).jp4({src:"http://"+location.host+":"+(2323+index)+"/img",width:300,fast:true,lowres:4});
jp4_previews
[
index
]
=
$
(
this
).
jp4
({
src
:
"http://"
+
location
.
host
+
":"
+
(
2323
+
index
)
+
"/img"
,
width
:
300
,
fast
:
true
,
lowres
:
4
});
}
else
{
}
else
{
$
(
this
).
html
(
"<img width='300' src='http://"
+
location
.
host
+
":"
+
(
2323
+
index
)
+
"/img' />"
);
$
(
this
).
html
(
"<img width='300' src='http://"
+
location
.
host
+
":"
+
(
2323
+
index
)
+
"/img' />"
);
}
}
...
...
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