fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-08-09 02:48 am

[dw-free] Remove some error logging that crept in.

[commit: http://hg.dwscoalition.org/dw-free/rev/b90bfe667689]

Remove some error logging that crept in.

Patch by [personal profile] fu.

Files modified:
  • htdocs/js/jquery.ajaxtip.js
  • htdocs/js/jquery.mediaplaceholder.js
--------------------------------------------------------------------------------
diff -r 612136df8e1c -r b90bfe667689 htdocs/js/jquery.ajaxtip.js
--- a/htdocs/js/jquery.ajaxtip.js	Tue Aug 09 08:39:12 2011 +0800
+++ b/htdocs/js/jquery.ajaxtip.js	Tue Aug 09 10:47:36 2011 +0800
@@ -152,7 +152,6 @@
             function(){
                 var $this = $(this);
 
-                console.log($this, e.target, $this.has( e.target ).length > 0 );
                 if ( e && e.target && $this.has( e.target ).length > 0 ) {
                     // clicked inside this popup; do nothing
                 } else {
diff -r 612136df8e1c -r b90bfe667689 htdocs/js/jquery.mediaplaceholder.js
--- a/htdocs/js/jquery.mediaplaceholder.js	Tue Aug 09 08:39:12 2011 +0800
+++ b/htdocs/js/jquery.mediaplaceholder.js	Tue Aug 09 10:47:36 2011 +0800
@@ -12,7 +12,6 @@
             e.stopPropagation();
             e.preventDefault();
 
-            console.log(html);
             var originalembed = $(unescape(html.html()))
                 .wrap("<span></span>"); // IE weirdness
             container.append(originalembed);
--------------------------------------------------------------------------------