Permalink
Browse files

Merge pull request #1732 from darkwing/modal-cleanup

Use window shortcut, update quote type
  • Loading branch information...
2 parents 08eb3fd + fc52df3 commit 9b86438f18863988f396044be7dac054926e6693 @alexgibson alexgibson committed Feb 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 9b86438

Please sign in to comment.