mas sexy aun!

This commit is contained in:
Daniel Cortés
2019-10-14 21:19:56 -03:00
parent 01c7a4492b
commit 45a441bb2c
7 changed files with 76 additions and 15 deletions

10
public/js/app.js vendored
View File

@@ -93,6 +93,7 @@
/*! no static exports found */
/***/ (function(module, exports) {
// Highlight links if in his page
switch (window.location.pathname) {
case "/":
document.getElementById("title-link").classList.add("pure-menu-highlight");
@@ -114,6 +115,15 @@ switch (window.location.pathname) {
case "/setup":
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 = function (e) {
window.open(e.target.src, '_blank');
};
}
/***/ }),