Compare commits

..

No commits in common. 'f6a8761f8022e8b8711262dba32b6ea11a814538' and '3a1d010b0bc16a29780f564357652b7b1dd856a4' have entirely different histories.

  1. 2
      composer.json
  2. 2
      css/components/islandora_mods.css
  3. 2
      css/components/islandora_mods_bk.css
  4. 2
      js/audio-tooltip.js
  5. 2
      js/audioplayer.js
  6. 2
      js/custom.js

2
composer.json

@ -1,6 +1,6 @@
{ {
"name": "rdrew/olivesbdh", "name": "rdrew/olivesbdh",
"description": "drupal theme for bowing downhome", "description": "drupal theme for SDU",
"type": "drupal-custom-theme", "type": "drupal-custom-theme",
"authors": [ "authors": [
{ {

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