-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix + refactor: fixed textui bug + Improved code style, respecting ESLint rules #759
Conversation
} | ||
const $notification = $(document.createElement('div')); | ||
$notification.addClass('notification').addClass(data.type); | ||
$notification.html(data.text); |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High
user-provided value
$notification.html(data.text); | ||
const $notification = $(notifs[data.id]); | ||
$notification.addClass('notification').addClass(data.type); | ||
$notification.html(data.text); |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High
user-provided value
|
||
if (data.poundCost != undefined) { | ||
$('.content .vehicle-list').html( | ||
getVehicles(data.locales, data.vehiclesList, data.poundCost), |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High
user-provided value
} | ||
else { | ||
$('.content .vehicle-list').html( | ||
getVehicles(data.locales, data.vehiclesList), |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High
user-provided value
if (data.poundCost) $('#container').data('poundcost', data.poundCost); | ||
|
||
$('.impounded_content .vehicle-list').html( | ||
getImpoundedVehicles(data.locales, data.vehiclesImpoundedList), |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High
user-provided value
$('.vehicle-listing').html(function(_i, text) { | ||
return text.replace('Model', data.locales.veh_model); | ||
}); |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High
user-provided value
$('.vehicle-listing').html(function(_i, text) { | ||
return text.replace('Plate', data.locales.veh_plate); | ||
}); |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High
user-provided value
$('.vehicle-listing').html(function(_i, text) { | ||
return text.replace('Condition', data.locales.veh_condition); | ||
}); |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High
Fixes #747
All Submissions:
New Feature Submissions:
Changes to Core Features:
Discord username (if different from GitHub):