Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 9, 2016
1 parent 1f0bc2f commit 03d044c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/absolutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,15 @@ function absolute (path, $) {
var hashSrc = $el.attr('src')

if (hasHref) {
src = hasHref
key = 'href'
src = hasHref
} else if (hashSrc) {
key = 'src'
src = hashSrc
} else {
return
}

console.log(src)

src = src.trim()

if (~src.indexOf('://')) {
Expand Down

0 comments on commit 03d044c

Please sign in to comment.