diff --git a/src/bb-modules/Orderbutton/Controller/Client.php b/src/bb-modules/Orderbutton/Controller/Client.php index 19ca720b4..dcc3612a2 100644 --- a/src/bb-modules/Orderbutton/Controller/Client.php +++ b/src/bb-modules/Orderbutton/Controller/Client.php @@ -46,6 +46,7 @@ class Client implements \Box\InjectionAwareInterface public function get_js(\Box_App $app) { + header("Content-Type: application/javascript"); return $app->render('mod_orderbutton_js'); } } \ No newline at end of file