From 0b3dddad68d056a0c867055942cc1df090ed0913 Mon Sep 17 00:00:00 2001
From: Jason Boyer <JBoyer@equinoxOLI.org>
Date: Fri, 11 Mar 2022 09:03:02 -0500
Subject: [PATCH] LP1964019: Change span tag to div to work around a Chrome bug

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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html
index 8bef1f41b8..89ee8ef04d 100644
--- a/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html
+++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html
@@ -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">
-- 
2.11.0