Permalink
Browse files

Use window shortcut, update quote type

  • Loading branch information...
1 parent c563fd3 commit fc52df363426dd01d59b1980ed026db4bffdc019 @darkwing darkwing committed Feb 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 media/js/base/mozilla-modal.js
View
2 media/js/base/mozilla-modal.js
@@ -16,7 +16,7 @@ Mozilla.Modal = (function(w, $) {
var $_contentParent;
var $_content;
- var closeText = (typeof window.trans == "undefined") ? 'Close' : window.trans('global-close');
+ var closeText = (typeof w.trans == 'undefined') ? 'Close' : w.trans('global-close');
/*
origin: element that triggered the modal

0 comments on commit fc52df3

Please sign in to comment.