aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 07ed396bec9..d2bbbae6362 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1127,7 +1127,7 @@ OC.Notification={
*
* @param {string} text Message to display
* @param {Object} [options] options
- * @param {string] [options.type] notification type
+ * @param {string} [options.type] notification type
* @param {int} [options.timeout=0] timeout value, defaults to 0 (permanent)
* @return {jQuery} jQuery element for notification row
*/
@@ -1143,7 +1143,7 @@ OC.Notification={
* @param {array} [options] options array
* @param {int} [options.timeout=7] timeout in seconds, if this is 0 it will show the message permanently
* @param {boolean} [options.isHTML=false] an indicator for HTML notifications (true) or text (false)
- * @param {string] [options.type] notification type
+ * @param {string} [options.type] notification type
*/
showTemporary: function(text, options) {
var self = this;