summaryrefslogtreecommitdiffstats
path: root/core/js/placeholder.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/placeholder.js')
-rw-r--r--core/js/placeholder.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/js/placeholder.js b/core/js/placeholder.js
index b8075b5397f..f173e738676 100644
--- a/core/js/placeholder.js
+++ b/core/js/placeholder.js
@@ -148,4 +148,13 @@
this.html(text[0].toUpperCase());
}
};
+
+ $.fn.clearimageplaceholder = function() {
+ this.css('background-color', '');
+ this.css('color', '');
+ this.css('font-weight', '');
+ this.css('text-align', '');
+ this.css('line-height', '');
+ this.css('font-size', '');
+ };
}(jQuery));