Skip to content

Commit 9870ef1

Browse files
committed
Update to v6.7.70, Update 5 files
2026-03-22 19:13 - Update: jaufarTafsirApp/app/src/main/assets/js/DT-inline.js - Update: js/DT-inline.js - Update: js/DT-inline.min.js - Update: js/navbar.js - Update: js/navbar.min.js
1 parent a2acd8b commit 9870ef1

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

jaufarTafsirApp/app/src/main/assets/js/DT-inline.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ function toggleTashkeel() {
5757
// Remove tashkeel from each cell that contains a string
5858
const newData = originalData.map((row) =>
5959
row.map((cell) =>
60-
typeof cell === "string" ? removeThashkeel(cell) : cell
61-
)
60+
typeof cell === "string" ? removeThashkeel(cell) : cell,
61+
),
6262
);
6363
// Update the table with the new data
6464
table.clear().rows.add(newData).draw(false);
@@ -560,7 +560,7 @@ document.addEventListener("DOMContentLoaded", function () {
560560
function collapseSubSubBabDropdowns(rootElement) {
561561
// Select only the active sub-sub-bab-dropdown items
562562
const subSubBabDropdowns = rootElement.querySelectorAll(
563-
"li > ul > li.active"
563+
"li > ul > li.active",
564564
);
565565
subSubBabDropdowns.forEach((item) => {
566566
// Remove the active class to collapse the sub-sub-bab-dropdown
@@ -605,7 +605,7 @@ let columnDefsconfig = [
605605
// double newlines
606606
.replace(
607607
/(\r\n\r\n|\n\n|\r\r)+/g,
608-
'\t<br class="dtBr">\t<br class="dtBr">'
608+
'\t<br class="dtBr">\t<br class="dtBr">',
609609
)
610610
// single newlines
611611
.replace(/(\r\n|\n|\r)+/g, '\t<br class="dtBr">')
@@ -944,7 +944,8 @@ Object.assign(DataTable.defaults, {
944944
//lengthMenu: "ބަރި ދައްކާ _MENU_",
945945
loadingRecords: "ތައްޔާރުވަނީ... ⏳",
946946
search: "",
947-
searchPlaceholder: 'ސީދާ ލަފްޒު "މިހެން ހޯދާ"، !މިލަފްޒު ނުލާ ހޯދާ',
947+
searchPlaceholder: "ސާޗްކުރުމަށް...",
948+
// searchPlaceholder: 'ސީދާ ލަފްޒު "މިހެން ހޯދާ"، !މިލަފްޒު ނުލާ ހޯދާ',
948949
zeroRecords: "– ނުފެނުނު 🗨️ –",
949950
paginate: {
950951
first: "<< ",

js/DT-inline.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ function toggleTashkeel() {
5757
// Remove tashkeel from each cell that contains a string
5858
const newData = originalData.map((row) =>
5959
row.map((cell) =>
60-
typeof cell === "string" ? removeThashkeel(cell) : cell
61-
)
60+
typeof cell === "string" ? removeThashkeel(cell) : cell,
61+
),
6262
);
6363
// Update the table with the new data
6464
table.clear().rows.add(newData).draw(false);
@@ -560,7 +560,7 @@ document.addEventListener("DOMContentLoaded", function () {
560560
function collapseSubSubBabDropdowns(rootElement) {
561561
// Select only the active sub-sub-bab-dropdown items
562562
const subSubBabDropdowns = rootElement.querySelectorAll(
563-
"li > ul > li.active"
563+
"li > ul > li.active",
564564
);
565565
subSubBabDropdowns.forEach((item) => {
566566
// Remove the active class to collapse the sub-sub-bab-dropdown
@@ -605,7 +605,7 @@ let columnDefsconfig = [
605605
// double newlines
606606
.replace(
607607
/(\r\n\r\n|\n\n|\r\r)+/g,
608-
'\t<br class="dtBr">\t<br class="dtBr">'
608+
'\t<br class="dtBr">\t<br class="dtBr">',
609609
)
610610
// single newlines
611611
.replace(/(\r\n|\n|\r)+/g, '\t<br class="dtBr">')
@@ -944,7 +944,8 @@ Object.assign(DataTable.defaults, {
944944
//lengthMenu: "ބަރި ދައްކާ _MENU_",
945945
loadingRecords: "ތައްޔާރުވަނީ... ⏳",
946946
search: "",
947-
searchPlaceholder: 'ސީދާ ލަފްޒު "މިހެން ހޯދާ"، !މިލަފްޒު ނުލާ ހޯދާ',
947+
searchPlaceholder: "ސާޗްކުރުމަށް...",
948+
// searchPlaceholder: 'ސީދާ ލަފްޒު "މިހެން ހޯދާ"، !މިލަފްޒު ނުލާ ހޯދާ',
948949
zeroRecords: "– ނުފެނުނު 🗨️ –",
949950
paginate: {
950951
first: "<< ",

0 commit comments

Comments
 (0)