Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Mikhail committed Jan 9, 2024
1 parent a1d6506 commit 3d74ab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/flipper/ui/public/js/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $(function () {
$("#disable_feature__button").on("click", function (e) {
const featureName = $(e.target).data("confirmation-text");
const promptMessage = prompt(
`Are you sure you want to disable this feature for everyone? Please enter the name of the feature to confirm it: ${featureName}`
`Are you sure you want to disable this feature for everyone? Please enter the name of the feature to confirm it: ${featureName}`
);

if (promptMessage !== featureName) {
Expand All @@ -31,7 +31,7 @@ $(function () {
const promptMessage = prompt(
`Are you sure you want to remove this feature from the list of features and disable it for everyone? Please enter the name of the feature to confirm it: ${featureName}`
);

if (promptMessage !== featureName) {
e.preventDefault();
}
Expand Down
2 changes: 1 addition & 1 deletion lib/flipper/ui/views/feature.erb
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
<% if Flipper::UI.configuration.confirm_disable %>
data-confirmation-text="<%= feature_name %>"
<% end %>
title="Disable for everyone by clearing all percentages, groups and actors."
title="Disable for everyone by clearing all percentages, groups and actors."
>
Disable
</span>
Expand Down

0 comments on commit 3d74ab3

Please sign in to comment.