Skip to content

Commit c3cafef

Browse files
committed
u
1 parent ed8795b commit c3cafef

30 files changed

+190
-89
lines changed

akhbaruShuyukh.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

books/quranBakurube.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

books/quranBetaqat.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

books/quranHmv.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

books/quranJaufar.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

books/quranMuhammad.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

books/quranMukhtasar.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

books/quranMuyassar.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

books/quranMuyassarGhareeb.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/quranBakurube-script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ $(document).ready(() => {
804804
$("#footer").removeClass("hidden");
805805
});
806806

807-
/// adds doubleclick select go to page search was on, with rowshowjs
807+
// adds doubleclick select go to page search was on, with rowshowjs
808808

809809
// * The code below now works, previously some update to searchpanes js broke it, and the code below the code below was a workaround, but now we can use the initial one
810810
// no longer old code

js/quranJaufar-script.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,19 @@ $(document).ready(() => {
268268
return data;
269269
},
270270
},
271+
{
272+
data: 4,
273+
title: "ގުރްއާން ފިލިނުޖަހާ",
274+
render: function (data, type, row) {
275+
data = data.replace(/\s([\u0660-\u0669]+)/, "\u00a0$1");
276+
//data = "﴿" + data + "﴾";
277+
// replaces basmalas opening closing brackets non breaks, then kashida, then arabic numbers, then space, then br tag, then makes two spaces into one
278+
return data
279+
.replace(/ـ/g, "")
280+
.replace(/[^\u0621-\u064A|\s|<br class="br">]/g, "")
281+
.replace(/\s\s/g, " ");
282+
},
283+
},
271284
{
272285
data: 5,
273286
title: "ރަސްމު އުޘްމާނީ",
@@ -290,23 +303,10 @@ $(document).ready(() => {
290303
},
291304
{
292305
data: 6,
293-
title: "ގުރްއާން ފިލިނުޖަހާ",
294-
render: function (data, type, row) {
295-
data = data.replace(/\s([\u0660-\u0669]+)/, "\u00a0$1");
296-
//data = "﴿" + data + "﴾";
297-
// replaces basmalas opening closing brackets non breaks, then kashida, then arabic numbers, then space, then br tag, then makes two spaces into one
298-
return data
299-
.replace(/ـ/g, "")
300-
.replace(/[^\u0621-\u064A|\s|<br class="br">]/g, "")
301-
.replace(/\s\s/g, " ");
302-
},
303-
},
304-
{
305-
data: 7,
306306
title: "ތަފުސީރު", // ubufili on faafu, otherwise interferes with clipboard tite copy
307307
},
308308
{
309-
data: 8,
309+
data: 7,
310310
title: "ފުޓްނޯޓު",
311311
},
312312
],

js/quranJaufar-script.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/quranRasmee-script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ $(document).ready(() => {
793793
$("#footer").removeClass("hidden");
794794
});
795795

796-
/// adds doubleclick select go to page search was on, with rowshowjs
796+
// adds doubleclick select go to page search was on, with rowshowjs
797797

798798
// * The code below now works, previously some update to searchpanes js broke it, and the code below the code below was a workaround, but now we can use the initial one
799799
// no longer old code

js/resc/COMB-nonCrit.min.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/resc/hmv-script.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,15 @@ function scrollUpTop() {
3838

3939
// SHOW OR HIDE AYAT FILI
4040

41-
// better to have this bit embedded in individual html files, as column differs every time
42-
/*function toggleFili() {
41+
function toggleQuranFili() {
4342
// https://datatables.net/forums/discussion/61291/how-to-implement-the-data-table-column-visibility-and-order-dynamically
4443

4544
var isVisible = $(".dataTable").DataTable().column(4).visible();
4645
$(".dataTable").DataTable().column(4).visible(!isVisible);
4746

4847
var isVisible = $(".dataTable").DataTable().column(5).visible();
4948
$(".dataTable").DataTable().column(5).visible(!isVisible);
50-
}*/
49+
}
5150

5251
// SWITCH BETWEEN IMLAI AND UTHMANI TEXT FOR AYAT
5352

js/resc/hmv-script.min.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"devDependencies": {
3+
"prettier": "3.3.1"
4+
}
5+
}

uc/quranBakurube.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="dv">
33
<!-- prevent translate popup -->
44

@@ -830,7 +830,7 @@
830830
<button
831831
id="toggleFiliButton"
832832
class="lowerButtons"
833-
onclick="toggleFili();filiString();scrollUpTop()"
833+
onclick="toggleQuranFili();filiString();scrollUpTop()"
834834
>
835835
&nbsp; ފިލިތައް ފޮރުވާ &nbsp;
836836
</button>

uc/quranBetaqat.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="dv">
33
<!-- prevent translate popup -->
44

@@ -187,7 +187,10 @@
187187
background: #c1d1c3;
188188
border-radius: 0.2em;
189189
border: 1px solid #40455c;
190-
box-shadow: inset 0 0 2px 0 #693, 0 0 0 2px #fff, 0 0 0 3px #40455c;
190+
box-shadow:
191+
inset 0 0 2px 0 #693,
192+
0 0 0 2px #fff,
193+
0 0 0 3px #40455c;
191194

192195
/* centers ayahbox */
193196
top: 15px;
@@ -318,8 +321,10 @@
318321
background: #212d39;
319322
color: rgba(255, 255, 255, 0.847);
320323
border-color: #212d39;
321-
box-shadow: inset 0 0 2px 0 /*#693*/,
322-
0 0 0 1.75px rgba(255, 255, 255, 0.847), 0 0 0 2.75px #40455c;
324+
box-shadow:
325+
inset 0 0 2px 0 /*#693*/,
326+
0 0 0 1.75px rgba(255, 255, 255, 0.847),
327+
0 0 0 2.75px #40455c;
323328
}
324329

325330
/* this colors the square border around the frame in quran, otherwise white */
@@ -1101,7 +1106,7 @@
11011106
<button
11021107
id="toggleFiliButton"
11031108
class="lowerButtons"
1104-
onclick="toggleFili();filiString();scrollUpTop()"
1109+
onclick="toggleQuranFili();filiString();scrollUpTop()"
11051110
>
11061111
&nbsp; ފިލިތައް ފޮރުވާ &nbsp;
11071112
</button>

uc/quranHmv.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="dv">
33
<!-- prevent translate popup -->
44

@@ -1824,7 +1824,7 @@
18241824
<button
18251825
id="toggleFiliButton"
18261826
class="lowerButtons"
1827-
onclick="toggleFili();filiString();scrollUpTop()"
1827+
onclick="toggleQuranFili();filiString();scrollUpTop()"
18281828
>
18291829
&nbsp; ފިލިތައް ފޮރުވާ &nbsp;
18301830
</button>

0 commit comments

Comments
 (0)