Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Fix class parsing for code
Browse files Browse the repository at this point in the history
  • Loading branch information
joegatt committed Mar 21, 2014
1 parent faffa17 commit 4712253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/nembrot.document.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ toggle_code = () ->
$("#code").toggle()

load_code = () ->
file = '/code/' + $('#main > div').attr('class').replace('s-', '/')
file = '/code/' + $('#main > div').attr('class').replace('s-', '/').replace('-', '/')
$.ajax
url: file
cache: true
Expand Down

0 comments on commit 4712253

Please sign in to comment.