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:
Claude 2025-11-14 06:07:57 +00:00
parent c06c17eac1
commit be62dfad10
No known key found for this signature in database

View file

@ -34,7 +34,7 @@ function showSearchMethodDialog(elementId, elementType, coordinates) {
title: "Select Note",
width: "450px",
buttons: {
"🔍 Search": function () {
"Search": function () {
$(this).dialog("close");
// Show loading and do automatic search
showLoadingDialog();
@ -48,7 +48,7 @@ function showSearchMethodDialog(elementId, elementType, coordinates) {
closeDialogs("#obsidianNoteLoading");
});
},
"📁 Browse": async function () {
"Browse": async function () {
$(this).dialog("close");
try {
const noteData = await promptCreateNewNote(elementId, elementType, coordinates);