From 561b3dd1e799ff832db43b4803bdccb2d876b6c6 Mon Sep 17 00:00:00 2001 From: ayan4m1 Date: Sat, 15 Sep 2018 21:42:24 -0400 Subject: [PATCH] fix JS syntax error (using PHP concat operator in JS) --- public/themes/pterodactyl/js/plugins/minecraft/eula.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/themes/pterodactyl/js/plugins/minecraft/eula.js b/public/themes/pterodactyl/js/plugins/minecraft/eula.js index fb2f4807e..27e78c94c 100644 --- a/public/themes/pterodactyl/js/plugins/minecraft/eula.js +++ b/public/themes/pterodactyl/js/plugins/minecraft/eula.js @@ -55,7 +55,7 @@ $(document).ready(function () { console.error(jqXHR); swal({ title: 'Whoops!', - text: 'An error occured while attempting to set the EULA as accepted: ' . jqXHR.responseJSON.error, + text: 'An error occurred while attempting to set the EULA as accepted: ' + jqXHR.responseJSON.error, type: 'error' }) });