]> git.koha-community.org Git - koha.git/commit
Bug 38049: Call .tooltip() only if needed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 1 Oct 2024 12:15:07 +0000 (14:15 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 11 Oct 2024 09:13:49 +0000 (11:13 +0200)
commit4b5ba42cacc3f85d763af0a14498f72d545a4a9f
treea0e7d9e26f56b115822561aa9e7273e993d1a5f1
parent8b23e24952054f10af66809e76be8b43a44c3a02
Bug 38049: Call .tooltip() only if needed

This is cheating, yes.

We had a cypress test failing because of this line
  $(...).tooltip is not a function

It's failing randomly on Admin/RecordSources_spec.ts, which does not
need the tooltip.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/js/staff-global.js