From db042d2cbc1ac871ae53b679618efbb81b138d2b Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sun, 10 Apr 2011 18:30:26 +0200
Subject: [PATCH] - Patch #608478 by David_Rothstein: remove leftover code and
 variables

---
 modules/system/system.js | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/modules/system/system.js b/modules/system/system.js
index 7062549c848f..5446d28a370a 100644
--- a/modules/system/system.js
+++ b/modules/system/system.js
@@ -113,19 +113,6 @@ Drupal.behaviors.dateTime = {
   }
 };
 
-/**
- * Show the powered by Drupal image preview
- */
-Drupal.behaviors.poweredByPreview = {
-  attach: function (context, settings) {
-    $('#edit-color, #edit-size').change(function () {
-      var path = settings.basePath + 'misc/' + $('#edit-color').val() + '-' + $('#edit-size').val() + '.png';
-      $('img.powered-by-preview').attr('src', path);
-    });
-  }
-};
-
-
  /**
  * Show/hide settings for page caching depending on whether page caching is
  * enabled or not.
-- 
GitLab