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 20:56:05 +0000 (15:56 -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 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">