]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/customize-models.js
WordPress 4.7.2-scripts
[autoinstalls/wordpress.git] / wp-includes / js / customize-models.js
index 5fa62aeecca485778f0312e85f2b74dd1bab1e8b..9d6e088c515415d8915d43d8b6333e621d0a6ff4 100644 (file)
@@ -1,4 +1,4 @@
-/* globals _wpCustomizeHeader, _ */
+/* global _wpCustomizeHeader */
 (function( $, wp ) {
        var api = wp.customize;
        api.HeaderTool = {};
                                return false;
                        }
 
+                       if (this.get('imageWidth') <= this.get('themeWidth')) {
+                               return false;
+                       }
+
                        return true;
                }
        });