|
@@ -665,6 +665,19 @@ Bumble.FooterQuotes = {
|
|
|
div.innerText = quote.text;
|
|
|
console.log(`Quote source: ${quote.source}`);
|
|
|
}
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+ * Add a quote to the list of possible quotes to display in the footer
|
|
|
+ *
|
|
|
+ * @param {string} quote The quote to display in the footer
|
|
|
+ * @param {string} source The source of the quote that will be logged in the browser's console
|
|
|
+ */
|
|
|
+ AddQuote: function(quote, source) {
|
|
|
+ this.all_quotes.push({
|
|
|
+ text: quote,
|
|
|
+ source: source,
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
|