LP1964019: Change span tag to div to work around a Chrome bug
authorJason Boyer <JBoyer@equinoxOLI.org>
Fri, 11 Mar 2022 14:03:02 +0000 (09:03 -0500)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 11 Mar 2022 21:00:11 +0000 (16:00 -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>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html

index 8bef1f4..89ee8ef 100644 (file)
@@ -18,7 +18,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}"
@@ -33,8 +33,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">