From 0562725fad06a130c0e786f7080c57a7f23b0dd1 Mon Sep 17 00:00:00 2001
From: Kyle Taylor <kyletaylored@gmail.com>
Date: Sat, 11 Jan 2014 15:25:15 -0600
Subject: [PATCH] Syntax checking

---
 profiles/js/rubik.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/rubik.js b/js/rubik.js
index ef9df58..3b8ea1e 100644
--- a/js/rubik.js
+++ b/js/rubik.js
@@ -25,7 +25,7 @@ Drupal.behaviors.rubik.attach = function(context) {
     // Target exists, add click handler.
     if ($('#' + id).size() > 0) {
       $(this).click(function() {
-        toggleable = $('#' + id);
+        var toggleable = $('#' + id);
         toggleable.toggle();
         $(this).toggleClass('toggler-active');
         return false;
@@ -43,7 +43,7 @@ Drupal.behaviors.rubik.attach = function(context) {
 $(document).ready(function() {
   // If there's no active secondary tab, make the first one show.
   var activeli = $('.primary-tabs li.active .secondary-tabs li.active');
-  if (activeli.length == 0) {
+  if (activeli.length === 0) {
     $('.primary-tabs li.active .secondary-tabs li:first-child a').css('display', 'block');
   }
 });
-- 
1.8.3.4 (Apple Git-47)

