mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 15:30:14 -04:00
strongs number in passage tooltips
This commit is contained in:
parent
27878c6412
commit
1fce38d244
@ -30,7 +30,11 @@
|
||||
>
|
||||
<ng-container *ngFor="let w of vs.w">
|
||||
<ng-container *ngIf="!isPunct(w.t)"> </ng-container
|
||||
><a *ngIf="w.s != null" (click)="openStrongs(w.s)">{{ w.t }}</a
|
||||
><a
|
||||
[title]="this.cardItem.dict + w.s"
|
||||
*ngIf="w.s != null"
|
||||
(click)="openStrongs(w.s)"
|
||||
>{{ w.t }}</a
|
||||
><ng-container *ngIf="w.s == null">{{
|
||||
w.t
|
||||
}}</ng-container> </ng-container
|
||||
|
@ -148,7 +148,7 @@ export class PassageComponent extends CardComponent implements OnInit {
|
||||
}
|
||||
|
||||
openStrongs(q: string) {
|
||||
const dict = q.substring(0, 1).search(/h/i) !== -1 ? 'heb' : 'grk';
|
||||
const dict = this.cardItem.dict === 'H' ? 'heb' : 'grk';
|
||||
const strongsNumber = q.substring(1, q.length);
|
||||
this.appService.getNewStrongs(strongsNumber, dict);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user