Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
wikicolor
Commits
dafdeb2a
Commit
dafdeb2a
authored
Jul 19, 2020
by
Sylvain Coulange
Browse files
debug copypaste Hi
parent
334bc519
Changes
1
Hide whitespace changes
Inline
Side-by-side
static/scripts/main.js
View file @
dafdeb2a
...
...
@@ -445,6 +445,10 @@ function getPopUp() {
var
col1
=
getComputedStyle
(
document
.
documentElement
).
getPropertyValue
(
'
--phon_i
'
);
var
col2
=
getComputedStyle
(
document
.
documentElement
).
getPropertyValue
(
'
--phon_j
'
);
var
res
=
'
<span style="background-color:
'
+
col1
+
'
;color:
'
+
col2
+
'
;-webkit-text-stroke-width: 0.5px;-webkit-text-stroke-color: #000000;">
'
;
}
else
if
(
p1
==
'
phon_h_maj_i
'
){
var
col1
=
getComputedStyle
(
document
.
documentElement
).
getPropertyValue
(
'
--phon_h_maj
'
);
var
col2
=
getComputedStyle
(
document
.
documentElement
).
getPropertyValue
(
'
--phon_i
'
);
var
res
=
'
<span style="background-color:
'
+
col1
+
'
;color:
'
+
col2
+
'
;-webkit-text-stroke-width: 0.5px;-webkit-text-stroke-color: #000000;">
'
;
}
else
if
(
p1
==
'
phon_nj
'
){
var
col1
=
getComputedStyle
(
document
.
documentElement
).
getPropertyValue
(
'
--phon_n
'
);
var
col2
=
getComputedStyle
(
document
.
documentElement
).
getPropertyValue
(
'
--phon_j
'
);
...
...
Write
Preview
Supports
Markdown
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