mas sexy aun!
This commit is contained in:
7
resources/js/app.js
vendored
7
resources/js/app.js
vendored
@@ -1,3 +1,4 @@
|
||||
// Highlight links if in his page
|
||||
switch(window.location.pathname){
|
||||
case "/":
|
||||
document.getElementById("title-link").classList.add("pure-menu-highlight");
|
||||
@@ -16,3 +17,9 @@ switch(window.location.pathname){
|
||||
document.getElementById("setup-link").classList.add("pure-menu-highlight");
|
||||
break;
|
||||
}
|
||||
|
||||
// Makes all images clickeable
|
||||
var images = document.getElementsByTagName("img");
|
||||
for(i = 0; i < images.length; i++) {
|
||||
images[i].onclick = (e) => { window.open(e.target.src, '_blank') }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user