diff --git a/lib/History.js b/lib/History.js index e844fea..304fe68 100644 --- a/lib/History.js +++ b/lib/History.js @@ -155,7 +155,10 @@ function addListeners(history) { while (el) { var url = el.href if (url) { - + + // Ignore href property on IMG tags because Internet Explorer. (https://github.com/derbyjs/derby/issues/496) + if (el.nodeName === 'IMG') return + // Ignore if created by Tracks if (el.hasAttribute && el.hasAttribute('data-router-ignore')) return diff --git a/package.json b/package.json index 42983d4..38fc7c8 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "git", "url": "git://github.com/codeparty/tracks.git" }, - "version": "0.5.4", + "version": "0.5.5", "main": "./lib/index.js", "browserify": { "main": "./lib/browser.js"