From f25e427dccdc9c9cdea8e63e06c76e300ef86631 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 24 Sep 2016 16:10:32 +0200 Subject: [PATCH] Cipher alert removed --- src/Gist/Resources/views/Edit/index.html.twig | 4 ---- web/app/js/app.js | 8 -------- 2 files changed, 12 deletions(-) diff --git a/src/Gist/Resources/views/Edit/index.html.twig b/src/Gist/Resources/views/Edit/index.html.twig index d778bae..e557467 100644 --- a/src/Gist/Resources/views/Edit/index.html.twig +++ b/src/Gist/Resources/views/Edit/index.html.twig @@ -11,10 +11,6 @@ {{ form_widget(form.title) }}
-

- - {{ 'form.cipher.alert'|trans }} -

diff --git a/web/app/js/app.js b/web/app/js/app.js index b325e5a..52489df 100644 --- a/web/app/js/app.js +++ b/web/app/js/app.js @@ -99,14 +99,6 @@ var myEvents = function() { } var mainEditorEvents = function() { - $('.cipher-input').change(function() { - if ($('.cipher-input:checked').val() === 'yes') { - $('#cipher-alert').removeClass('hide'); - } else { - $('#cipher-alert').addClass('hide'); - } - }); - $('#main-form').submit(function(e) { if ($('.cipher-input:checked').val() === 'yes' || typeof cipherGistClone !== 'undefined') { var key = getKey();