Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix undefined in IE

  • Loading branch information...
commit 78827d17580311762de7b3725d08f777e976b352 1 parent 6c555d4
@vrana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jush.js
View
2  jush.js
@@ -123,7 +123,7 @@ var jush = {
if (jush.api[state]) {
title = jush.api[state][(state == 'js' ? arguments[i] : arguments[i].toLowerCase())];
}
- return match1 + jush.create_link(link, arguments[i], (title ? ' title="' + jush.htmlspecialchars_quo(title) + '"' : '')) + (arguments[arguments.length - 3] ? arguments[arguments.length - 3] : '');
+ return (match1 ? match1 : '') + jush.create_link(link, arguments[i], (title ? ' title="' + jush.htmlspecialchars_quo(title) + '"' : '')) + (arguments[arguments.length - 3] ? arguments[arguments.length - 3] : '');
}
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.