Skip to content

Commit

Permalink
Avoid unnecessary use of Element.classList, unsupported in IE9. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
packagethief committed May 11, 2016
1 parent 74df6e3 commit 75a6a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/turbolinks/progress_bar.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ class Turbolinks.ProgressBar

createProgressElement: ->
element = document.createElement("div")
element.classList.add("turbolinks-progress-bar")
element.className = "turbolinks-progress-bar"
element

0 comments on commit 75a6a55

Please sign in to comment.