Skip to content

Commit 6c8dd5e

Browse files
committed
StandardJS fixes
1 parent ea8c1af commit 6c8dd5e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mink-plugin/js/displayMinkUI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ function bindGoBackToLiveWebButton () {
782782
}
783783

784784
function bindNavigationButtons () {
785-
['first', 'last', 'next', 'prev'].forEach(function attachURI(rel) {
785+
['first', 'last', 'next', 'prev'].forEach(function attachURI (rel) {
786786
document.getElementById('memento_' + rel).addEventListener('click', event => {
787787
window.location = event.target.getAttribute('data-uri')
788788
})

mink-plugin/timemap.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ function Memento (fromStr) {
118118
const mementoRelPrevExpression = /rel=.*prev.*/gi
119119
const mprevregex = new RegExp(mementoRelPrevExpression) // Regex to get next
120120

121-
122121
if (fromStr.match(mfirstregex)) {
123122
this.first = true
124123
}

0 commit comments

Comments
 (0)