LP1964019: Change span tag to div to work around a Chrome bug user/miker/lp1964019_not_that_spanner_signoff
authorJason Boyer <JBoyer@equinoxOLI.org>
Fri, 11 Mar 2022 14:03:02 +0000 (09:03 -0500)
committerMike Rylander <mrylander@gmail.com>
Fri, 11 Mar 2022 17:21:13 +0000 (12:21 -0500)
For some reason the span tag wrapping the contents of the Holdable? column
began to cause problems with Chrome 99 on Windows. Changing the spans to divs
works everywhere without turning off tooltips.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html

index fdb1382..b926b5a 100644 (file)
@@ -21,7 +21,7 @@
 </ng-template>
 
 <ng-template #holdableTemplate let-copy="row" let-context="userContext">
-  <span *ngIf="context.holdable(copy)">
+  <div *ngIf="context.holdable(copy)">
     <div class="border-bottom">
       <a routerLink="/staff/catalog/hold/C"
         [queryParams]="{target: copy.id}"
@@ -36,8 +36,8 @@
         Call Number Hold
       </a>
     </div>
-  </span>
-  <span *ngIf="!context.holdable(copy)" i18n>No</span>
+  </div>
+  <div *ngIf="!context.holdable(copy)" i18n>No</div>
 </ng-template>
 
 <ng-template #courseTemplate let-copy="row">