Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Difegue committed Jan 22, 2025
1 parent 431ae6d commit cee5293
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion WebContent/WEB-INF/templates/gameDetail.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{% if game.specialBrand != null %}
<div class="brand {{ game.specialBrand }}-brand white-text"></div>
{% else %}
<div class="brand game-brand white-text tooltipped"
<div class="brand game-brand white-text tooltipped" style="cursor: pointer"
data-position="left" data-delay="50" data-tooltip="Find other games by this unique cartridge ID"
onclick="searchForUser('{{ game.creator }}', '{{ game.cartridgeId }}', '{{ game.creatorId }}')">
{{ game.brand }} <br />Software
Expand Down
2 changes: 1 addition & 1 deletion WebContent/WEB-INF/templates/mangaDetail.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{% if item.specialBrand != null %}
<div class="brand {{ item.specialBrand }}-brand white-text"></div>
{% else %}
<div class="brand manga-brand white-text tooltipped"
<div class="brand manga-brand white-text tooltipped" style="cursor: pointer"
data-position="left" data-delay="50" data-tooltip="Find other comics by this unique cartridge ID"
onclick="searchForUser('{{ item.creator }}', '{{ item.cartridgeId }}', '{{ item.creatorId }}')">
{{ item.brand }} <br/>Publishing
Expand Down
2 changes: 1 addition & 1 deletion WebContent/WEB-INF/templates/recordsDetail.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{% if item.specialBrand != null %}
<div class="brand {{ item.specialBrand }}-brand white-text"></div>
{% else %}
<div class="brand record-brand white-text tooltipped"
<div class="brand record-brand white-text tooltipped" style="cursor: pointer"
data-position="left" data-delay="50" data-tooltip="Find other records by this unique cartridge ID"
onclick="searchForUser('{{ item.creator }}', '{{ item.cartridgeId }}', '{{ item.creatorId }}')">
{{ item.brand }} <br/>Music
Expand Down
5 changes: 4 additions & 1 deletion WebContent/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ function searchForUser(creatorName, cartridgeId, creatorId) {
$("#creator_id").val("");
}

// Unfuck tooltips
$(".material-tooltip").attr("style","visibility:hidden");

// Do search
M.updateTextFields();
loadItems(1);
Expand Down Expand Up @@ -303,7 +306,7 @@ async function playMidi(id) {
}

function toggleiFrameMode() {

$("#index-banner").remove();
$(".navbar-fixed").remove();
$(".page-footer").remove();
Expand Down

0 comments on commit cee5293

Please sign in to comment.