videomail-client 8.3.16 → 8.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "8.3.16",
3
+ "version": "8.3.17",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
6
6
  "contributors": [
@@ -17273,7 +17273,7 @@ function wrappy (fn, cb) {
17273
17273
  },{}],114:[function(_dereq_,module,exports){
17274
17274
  module.exports={
17275
17275
  "name": "videomail-client",
17276
- "version": "8.3.16",
17276
+ "version": "8.3.17",
17277
17277
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
17278
17278
  "author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
17279
17279
  "contributors": [
@@ -21806,15 +21806,15 @@ var Notifier = function Notifier(visuals, options) {
21806
21806
  var hideForm = notifyOptions.hideForm ? notifyOptions.hideForm : false;
21807
21807
  var classList = notifyOptions.classList ? notifyOptions.classList : false;
21808
21808
  var removeDimensions = notifyOptions.removeDimensions ? notifyOptions.removeDimensions : false;
21809
- if (!messageElement && notifyElement) {
21809
+ var notifierMessage = document.getElementById("notifierMessage");
21810
+ if (!notifierMessage && notifyElement) {
21810
21811
  messageElement = (0, _hyperscript.default)("h2", {
21811
- className: "message"
21812
+ id: "notifierMessage"
21812
21813
  });
21813
- if (explanationElement) {
21814
- notifyElement.insertBefore(messageElement, explanationElement);
21815
- } else {
21816
- notifyElement.appendChild(messageElement);
21817
- }
21814
+ notifyElement.appendChild(messageElement);
21815
+ }
21816
+ if (notifyElement && messageElement && explanationElement) {
21817
+ notifyElement.insertBefore(messageElement, explanationElement);
21818
21818
  }
21819
21819
  if (notifyElement) {
21820
21820
  // reset