Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
e07c5896
Commit
e07c5896
authored
Jan 25, 2017
by
okhin
Browse files
Back tothe previousway of globals
parent
383fdb1f
Pipeline
#811
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
templates/feedbackform.html
View file @
e07c5896
...
...
@@ -73,6 +73,7 @@
<script
type=
"text/javascript"
>
var
call
=
JSON
.
parse
(
'
{{ @call | raw }}
'
);
var
call_url
=
call
[
'
data
'
][
'
url
'
];
var
interval
=
None
;
function
normalize_phone
(
phone
)
{
if
(
phone
.
startsWith
(
'
+
'
))
{
return
phone
.
replace
(
'
+
'
,
'
00
'
);
...
...
@@ -161,6 +162,6 @@
};
$
(
document
).
ready
(
function
()
{
update_call
(
call
);
var
window
.
interval
=
window
.
setInterval
(
fetch
,
3000
);
interval
=
window
.
setInterval
(
fetch
,
3000
);
});
</script>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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