summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrankH2017-08-05 18:50:08 (GMT)
committerolstjos2017-08-05 18:50:08 (GMT)
commit8315202a00edbd11995561e0aface0e6c573c629 (patch)
tree6966dcdfe1444bb3b53f18a8a3b476b8c4a7ca77
parent72a863dbc01e6b8600c61c20a8fd15ba193135b3 (diff)
Issue #2895139 by joseph.olstad, bziraoui, FrankH: Javascript error with media browser popup in Adminimal theme, revert commit e48215d1 Issue #2885412
-rw-r--r--js/media.popups.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/media.popups.js b/js/media.popups.js
index c7a9af5..c8cf2a0 100644
--- a/js/media.popups.js
+++ b/js/media.popups.js
@@ -128,7 +128,7 @@ Drupal.media.popups.mediaBrowser.mediaBrowserOnLoad = function (e) {
var options = e.data;
// Ensure that the iFrame is defined.
- if (this.contentWindow.Drupal.media.browser == undefined) {
+ if (this.contentWindow.Drupal.media == undefined) {
return;
}