mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
fix(obsidian): remove emojis from button labels
jQuery UI dialog buttons don't work properly with emojis in the label text. Removed emojis from button labels while keeping them in the dialog content. Changed: - '🔍 Search' → 'Search' - '📁 Browse' → 'Browse' The emojis are still visible in the dialog content boxes, just not in the actual button labels.
This commit is contained in:
parent
c06c17eac1
commit
be62dfad10
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ function showSearchMethodDialog(elementId, elementType, coordinates) {
|
||||||
title: "Select Note",
|
title: "Select Note",
|
||||||
width: "450px",
|
width: "450px",
|
||||||
buttons: {
|
buttons: {
|
||||||
"🔍 Search": function () {
|
"Search": function () {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
// Show loading and do automatic search
|
// Show loading and do automatic search
|
||||||
showLoadingDialog();
|
showLoadingDialog();
|
||||||
|
|
@ -48,7 +48,7 @@ function showSearchMethodDialog(elementId, elementType, coordinates) {
|
||||||
closeDialogs("#obsidianNoteLoading");
|
closeDialogs("#obsidianNoteLoading");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
"📁 Browse": async function () {
|
"Browse": async function () {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
try {
|
try {
|
||||||
const noteData = await promptCreateNewNote(elementId, elementType, coordinates);
|
const noteData = await promptCreateNewNote(elementId, elementType, coordinates);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue