Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
5db86965
Commit
5db86965
authored
Jan 21, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua http: dont show pointing to localhost qrcode
parent
1ed111e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
share/lua/http/js/ui.js
share/lua/http/js/ui.js
+6
-0
No files found.
share/lua/http/js/ui.js
View file @
5db86965
...
...
@@ -82,6 +82,12 @@ $(function () {
});
$
(
'
#stream_host
'
).
val
(
stream_server
);
$
(
'
#mobileintflink
'
).
click
(
function
()
{
if
(
(
window
.
location
.
hostname
==
'
localhost
'
)
||
(
window
.
location
.
hostname
==
'
127.0.0.1
'
)
||
(
window
.
location
.
hostname
==
'
[::1]
'
)
)
{
return
true
;
}
var
urlimg
=
location
.
href
+
'
/mobile.html
'
;
var
codeimg
=
$
(
'
<img width="350" height="350" alt="qrcode"/>
'
);
codeimg
.
attr
(
'
src
'
,
'
http://chart.apis.google.com/chart?cht=qr&chs=350x350&chld=L&choe=UTF-8&chl=
'
+
encodeURIComponent
(
urlimg
));
...
...
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