Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Commit 3135ae1

Browse files
author
Ian Maffett
committed
Merge pull request #635 from Philzen/patch-2
Popup: Fix default property typo
2 parents 27d91e4 + 114f299 commit 3135ae1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/af.popup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
};
5757
this.id = opts.id = opts.id || $.uuid(); //opts is passed by reference
5858
this.addCssClass = opts.addCssClass ? opts.addCssClass : "";
59+
this.suppressTitle = opts.suppressTitle || this.suppressTitle;
5960
this.title = opts.suppressTitle ? "" : (opts.title || "Alert");
6061
this.message = opts.message || "";
6162
this.cancelText = opts.cancelText || "Cancel";
@@ -93,7 +94,7 @@
9394
cancelOnly: false,
9495
onShow: null,
9596
autoCloseDone: true,
96-
supressTitle: false,
97+
suppressTitle: false,
9798
show: function () {
9899
var self = this;
99100
var markup = "<div id='" + this.id + "' class='afPopup hidden "+ this.addCssClass + "'>"+

0 commit comments

Comments
 (0)