Minor fixes

This commit is contained in:
Sam Potts 2017-11-18 19:31:45 +11:00
parent 1a26681d87
commit 4dca4bf93c
4 changed files with 4 additions and 4 deletions

2
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

2
dist/plyr.js.map vendored

File diff suppressed because one or more lines are too long

2
src/js/controls.js vendored
View File

@ -79,7 +79,7 @@ const controls = {
// https://github.com/sampotts/plyr/issues/460 // https://github.com/sampotts/plyr/issues/460
// https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
if ('href' in use) { if ('href' in use) {
use.setAttribute('href', path); use.setAttributeNS('http://www.w3.org/1999/xlink', 'href', path);
} else { } else {
use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', path); use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', path);
} }

View File

@ -432,7 +432,7 @@ const listeners = {
// Airplay // Airplay
utils.on(this.elements.buttons.airplay, 'click', event => utils.on(this.elements.buttons.airplay, 'click', event =>
proxy(event, 'airplay', () => { proxy(event, 'airplay', () => {
this.airPlay(); this.airplay();
}) })
); );