diff --git a/lib/open_project/backlogs/hooks.rb b/lib/open_project/backlogs/hooks.rb index fce831a8a7..c4b77d5ae5 100644 --- a/lib/open_project/backlogs/hooks.rb +++ b/lib/open_project/backlogs/hooks.rb @@ -76,7 +76,7 @@ module OpenProject::Backlogs::Hooks snippet << '

' if issue.descendants.length != 0 - unless Backlogs::Compatibility.using_jquery? + unless OpenProject::Backlogs::Compatibility.using_jquery? snippet << javascript_include_tag_backlogs('lib/jquery.js') end @@ -132,7 +132,7 @@ module OpenProject::Backlogs::Hooks # this wouldn't be necesary if the schedules plugin # didn't disable the contextual hook - unless Backlogs::Compatibility.using_jquery? + unless OpenProject::Backlogs::Compatibility.using_jquery? snippet += javascript_include_tag_backlogs('lib/jquery.js') end snippet += javascript_tag(<<-JS)