Skip to content

Commit

Permalink
fix: syntax error in JS file
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jan 8, 2020
1 parent eac7e8a commit 84a3707
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/scripts.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ function(event) {
});

<?php
if (Session::getCurrentInterface() == 'helpdesk')
&& PluginFormcreatorForm::countAvailableForm() > 0) {
if (Session::getCurrentInterface() == 'helpdesk' && PluginFormcreatorForm::countAvailableForm() > 0) {
echo "$('#c_menu #menu1:first-child').after(link);";
}
?>
Expand Down

0 comments on commit 84a3707

Please sign in to comment.