Browse Source

removed audio class mod

master
rdrew 2 weeks ago
parent
commit
f60782544b
  1. 2
      css/components/islandora_mods.css
  2. 2
      css/components/islandora_mods_bk.css
  3. 2
      js/audio-tooltip.js
  4. 2
      js/audioplayer.js
  5. 2
      js/custom.js

2
css/components/islandora_mods.css

@ -107,7 +107,7 @@ div#block-olivesbdh-solrsearchcontentsearchresultspagerforpage {
color: white; color: white;
} }
a.ethnography-link::after { a.js-play-audio-from-node::after {
content: ""; content: "";
display: inline-block; display: inline-block;
width: 1.1em; width: 1.1em;

2
css/components/islandora_mods_bk.css

@ -50,7 +50,7 @@ div#block-olivesbdh-solrsearchcontentsearchresultspagerforpage {
text-decoration: underline; text-decoration: underline;
color: white; color: white;
} }
a.ethnography-link::after { a.js-play-audio-from-node::after {
content: ""; content: "";
display: inline-block; display: inline-block;
width: 1.1em; width: 1.1em;

2
js/audio-tooltip.js

@ -3,7 +3,7 @@
Drupal.behaviors.audioLinkTooltip = { Drupal.behaviors.audioLinkTooltip = {
attach: function (context) { attach: function (context) {
once('audio-tooltip', '.ethnography-link', context).forEach((link) => { once('audio-tooltip', '.js-play-audio-from-node', context).forEach((link) => {
const href = link.getAttribute('href'); const href = link.getAttribute('href');
if (!href) return; if (!href) return;

2
js/audioplayer.js

@ -48,7 +48,7 @@
Drupal.behaviors.ablePlayerRemoteLoad = { Drupal.behaviors.ablePlayerRemoteLoad = {
attach(context) { attach(context) {
once('able-player-fetch', '.ethnography-link', context) once('able-player-fetch', '.js-play-audio-from-node', context)
.forEach(link => { .forEach(link => {
link.addEventListener('click', async e => { link.addEventListener('click', async e => {

2
js/custom.js

@ -76,7 +76,7 @@
//Drupal.behaviors.ablePlayerRemoteLoad = { //Drupal.behaviors.ablePlayerRemoteLoad = {
//attach(context) { //attach(context) {
//once('able-player-fetch', '.ethnography-link', context) //once('able-player-fetch', '.js-play-audio-from-node', context)
//.forEach(link => { //.forEach(link => {
//link.addEventListener('click', async e => { //link.addEventListener('click', async e => {

Loading…
Cancel
Save