[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:
@@ -1,4 +1,4 @@
|
||||
li > p {
|
||||
.intro-list p {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
+1
-1
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user