Skip to content

Commit

Permalink
Fix quick shortcuts div
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Feb 4, 2022
1 parent 57593ad commit a9729b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/settings/src/js/shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -656,9 +656,9 @@ const checkForIssuers = () => {
if (issuers !== undefined) {
generateQuickShortcuts(issuers)
} else {
document.querySelector(".quick").innerHTML = `
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3">
<h3 class="pt-5">Please save your codes on the main page and click reload to be able to create quick shortcuts!</h3>
document.querySelector(".quickShortcutsDiv").innerHTML = `
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3 -mt-16">
<h4 class="pt-5">Please save your codes on the main page and click reload to be able to create quick shortcuts!</h4>
<button class="buttoni mb-8" onclick="location.reload()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
Expand Down

0 comments on commit a9729b1

Please sign in to comment.