Skip to content

Commit

Permalink
sura name in input dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
maeyler committed Jul 8, 2024
1 parent 4503d76 commit 08ab5be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions code/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* The code version.
*/
const VERSION = "V4.8b";
const VERSION = "V4.8c";

/**
*   used in Mujam and VerseRef
Expand Down Expand Up @@ -249,8 +249,7 @@ class Notes {
}
function setFocus(elt) {
if (!elt || elt.value == undefined) return
elt.selectionEnd = elt.value.length
elt.selectionStart = 0; elt.focus()
elt.focus(); elt.select()
}

/**
Expand Down
2 changes: 1 addition & 1 deletion code/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ function makeStarMenu() {
function handlePageNum() {
bkgd.style.display = "block"
//input defined in search.js
input.value = curPage || "1"
input.value = curSura+' '
inputKey(); setFocus(input)
recog0.style.display
= (recognition && navigator.onLine)? '' : 'none'
Expand Down

0 comments on commit 08ab5be

Please sign in to comment.