Skip to content

Commit

Permalink
Merge pull request #15 from hogelog/fix-definition-linker
Browse files Browse the repository at this point in the history
Fix sub_process task linker
  • Loading branch information
hogelog authored Nov 10, 2016
2 parents 8cb4ea8 + 18987cd commit 9fd0a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/kuroko2/definition_linker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jQuery(function ($) {
function setDeifinitionLink(script) {
script = script.replace(/sub_process:\s+(\d+)\s*\n/, function(match, jobId) {
script = script.replace(/sub_process:\s+(\d+)\s*$/gm, function(match, jobId) {
return '<a href="/definitions/' + jobId + '">' + match + '</a>';
});

Expand Down

0 comments on commit 9fd0a3a

Please sign in to comment.