Sha256: 2f8029809cc3a449e8a254f866dd6734e8df332197ea7ad4d4d86b348576daa1
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
$(function () { $(document).on("click", ".js-toggle-trigger", function () { var $container = $(this).closest(".js-toggle-container"); return $container.toggleClass("toggle-on"); }); $("#delete_feature__button").on("click", function (e) { const featureName = $("#feature_name").val(); 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(); } }); });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flipper-ui-0.25.2 | lib/flipper/ui/public/js/application.js |
flipper-ui-0.25.1 | lib/flipper/ui/public/js/application.js |
flipper-ui-0.25.0 | lib/flipper/ui/public/js/application.js |