projects
/
plack-app-gruntmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a1a090
)
Fix 90-themes.js
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 18 Apr 2015 08:08:56 +0000
(11:08 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 18 Apr 2015 08:52:00 +0000
(11:52 +0300)
js/90-themes.js
patch
|
blob
|
blame
|
history
diff --git
a/js/90-themes.js
b/js/90-themes.js
index c87291949e978a5af15fba9207b7ed72e104a09a..0e481761002282633ab60569d9a6ba27f195b9e0 100644
(file)
--- a/
js/90-themes.js
+++ b/
js/90-themes.js
@@
-11,7
+11,7
@@
$(function() {
'<li><a role="button" data-theme="readable">White</a></ul>';
var sidebar = $('#sidebar')[0];
sidebar.insertBefore(m(theme_ul), sidebar.firstChild);
'<li><a role="button" data-theme="readable">White</a></ul>';
var sidebar = $('#sidebar')[0];
sidebar.insertBefore(m(theme_ul), sidebar.firstChild);
- $('#themes a').on('click', e => set_style(
this
.dataset.theme));
+ $('#themes a').on('click', e => set_style(
e.target
.dataset.theme));
});
let theme = localStorage.getItem("theme");
});
let theme = localStorage.getItem("theme");
This page took
0.010607 seconds
and
4
git commands to generate.