[FIX] hovering in intro

* fix markup so everything is back within .intro-list
* just glom all paragraphs below .intro-list, ignore <li>
This commit is contained in:
Xavier Morel
2015-03-16 10:21:29 +01:00
parent 0e8449f623
commit 32493c9c0f
3 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
li > p {
.intro-list p {
margin: 0;
cursor: pointer;
}
+1 -1
View File
@@ -107,7 +107,7 @@
target);
}
var list = document.querySelectorAll('.intro-list li > p');
var list = document.querySelectorAll('.intro-list p');
Array.prototype.forEach.call(list, function (node) {
node.addEventListener('mouseover', function (e) {
if (!e.currentTarget.contains(e.target)) { return; }