Permalink
Browse files

Bugfix for old Redmine's (Prototype-based ones).

  • Loading branch information...
1 parent dce2466 commit 88c58378813844afc883bb77b0b55c247dbf265f @akzhan akzhan committed Oct 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 assets/javascripts/redmine_close_button.js
@@ -1,6 +1,6 @@
(function() {
var ID_CLOSED = 5, ID_REJECTED = 6;
- if (jQuery) {
+ if (window.jQuery) {
// redmine uses jQuery so use it.
jQuery(document).ready(function() {
var $ = jQuery;

0 comments on commit 88c5837

Please sign in to comment.