[sagenb] 140/157: Remove superfluous if/then in template

felix salfelder felix-guest at moszumanska.debian.org
Mon Dec 22 16:52:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository sagenb.

commit fec9da107e3b09622df6777318b0dbc049566b6d
Author: kcrisman <kcrisman at gmail.com>
Date:   Thu Nov 6 14:08:02 2014 -0500

    Remove superfluous if/then in template
    
    We couldn't have gotten to this spot if this condition weren't already true from the previous if.
---
 sagenb/data/sage/html/notebook/text_cell.html | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sagenb/data/sage/html/notebook/text_cell.html b/sagenb/data/sage/html/notebook/text_cell.html
index 682bb63..0d4e8d2 100644
--- a/sagenb/data/sage/html/notebook/text_cell.html
+++ b/sagenb/data/sage/html/notebook/text_cell.html
@@ -23,7 +23,6 @@ INPUT:
               <div class="legacy_insert_new_cell" id="legacy_new_cell_before{{ cell.id() }}"></div>
             </div>
             <script type="text/javascript">
-                {% if not cell.worksheet().docbrowser() %}
                 $("#insert_new_compute_cell_before{{ cell.id() }}").bind("click",function (e) {
                     insert_new_cell_before({{ '%r'|format(cell.id()) }});
                 });
@@ -37,7 +36,6 @@ INPUT:
                       insert_new_cell_before({{ '%r'|format(cell.id()) }});
                    }
                 });
-                {% endif %}
             </script>
     {% endif %}
     <div class="text_cell" id="cell_text_{{ cell.id() }}">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list