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.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/placeholder.js b/core/js/placeholder.js
index ee2a8ce84c4..47cff780d2f 100644
--- a/core/js/placeholder.js
+++ b/core/js/placeholder.js
@@ -30,7 +30,7 @@
*
* And call this from Javascript:
*
- * $('#albumart').placeholder('The Album Title');
+ * $('#albumart').imageplaceholder('The Album Title');
*
* Which will result in:
*
@@ -38,7 +38,7 @@
*
* You may also call it like this, to have a different background, than the seed:
*
- * $('#albumart').placeholder('The Album Title', 'Album Title');
+ * $('#albumart').imageplaceholder('The Album Title', 'Album Title');
*
* Resulting in:
*
@@ -47,7 +47,7 @@
*/
(function ($) {
- $.fn.placeholder = function(seed, text) {
+ $.fn.imageplaceholder = function(seed, text) {
// set optional argument "text" to value of "seed" if undefined
text = text || seed;