summaryrefslogtreecommitdiffstats
path: root/core/js/placeholder.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-23 16:47:25 +0200
committerVincent Petry <pvince81@owncloud.com>2013-10-23 16:47:25 +0200
commit9aa164f3813dca15269e6a081fc9965890acc3d8 (patch)
treeeef6df4d203a654323704c43d97b6ddc861fc326 /core/js/placeholder.js
parent8c69a5388eeb6414d866758debaced903b468d76 (diff)
downloadnextcloud-server-9aa164f3813dca15269e6a081fc9965890acc3d8.tar.gz
nextcloud-server-9aa164f3813dca15269e6a081fc9965890acc3d8.zip
Renamed current placeholder jquery plugin to imageplaceholder
This is to prevent conflicts with jquery libs that handle text placeholders in IE8
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;