Commit c9e8d0f2 authored by minseok.park's avatar minseok.park

update header -- pathname test

parent e89acf1e
;(function () {
'use strict'
var download = document.getElementById('download')
document.addEventListener('scroll', function () {
var navbar = document.querySelector('.navbar')
......@@ -10,4 +12,8 @@
navbar.classList.remove('active')
}
})
download.addEventListener('click', function () {
console.log(window.location.pathname)
})
})()
......@@ -37,7 +37,7 @@
</div>
<div class="navbar-item">
<span class="control">
<a class="button download" href="#">
<a id="download" class="button download" href="#">
<i class="download_icon"></i>
Download
</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment