[extensions-web] Remove the switch in random contexts



commit 8a20aead51bee84cfee586707b3ad3eef93304a2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Nov 13 22:15:28 2011 -0500

    Remove the switch in random contexts

 sweettooth/review/templates/review/list.html   |    1 -
 sweettooth/review/templates/review/review.html |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/sweettooth/review/templates/review/list.html b/sweettooth/review/templates/review/list.html
index 6d1746c..eea4a22 100644
--- a/sweettooth/review/templates/review/list.html
+++ b/sweettooth/review/templates/review/list.html
@@ -8,7 +8,6 @@
 {% for version in version_list %}
 {% with version.extension as extension %}
 <li class="extension">
-  <div class="switch insensitive"></div>
   <h3 class="extension-name"><a href="{% url review-version pk=version.pk %}"><img src="{{ extension.icon.url }}" class="icon">{{ extension.name }}</a></h3>
   <span class="author">by <a href="{% url auth-profile user=extension.creator %}">{{ extension.creator }}</a></span>
   <p class="description">
diff --git a/sweettooth/review/templates/review/review.html b/sweettooth/review/templates/review/review.html
index 004eecf..58ff297 100644
--- a/sweettooth/review/templates/review/review.html
+++ b/sweettooth/review/templates/review/review.html
@@ -7,8 +7,6 @@
 <h2 class="expanded"> Details Page Preview </h2>
 <div id="preview">
   <div class="extension">
-    <div class="switch insensitive"></div>
-
     <img src="{{ extension.icon.url }}" class="icon">
 
     {% if extension.screenshot %}
@@ -84,7 +82,6 @@
 
 {% block document-ready %}
   require(['review', 'switch'], function() {
-    $(".extension .switch").switchify();
     $("#files").reviewify("{% url review-ajax-files pk=version.pk %}");
   });
   $("h2").click(function() {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]