From 6381615a30a2dd1a0a4300834806b8e2e8f84e8e Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 6 Jul 2017 22:02:32 -0700 Subject: Bug 1377621 - YUI is broken on review history page --- .../en/default/pages/review_history.html.tmpl | 28 ++++++++++++---------- extensions/Review/web/js/review_history.js | 4 ++-- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/extensions/Review/template/en/default/pages/review_history.html.tmpl b/extensions/Review/template/en/default/pages/review_history.html.tmpl index 107f69f70..37e270e0e 100644 --- a/extensions/Review/template/en/default/pages/review_history.html.tmpl +++ b/extensions/Review/template/en/default/pages/review_history.html.tmpl @@ -20,21 +20,23 @@ %] diff --git a/extensions/Review/web/js/review_history.js b/extensions/Review/web/js/review_history.js index 8d016b009..af5132ba1 100644 --- a/extensions/Review/web/js/review_history.js +++ b/extensions/Review/web/js/review_history.js @@ -5,7 +5,7 @@ * This Source Code Form is "Incompatible With Secondary Licenses", as * defined by the Mozilla Public License, v. 2.0. */ -(function () { +$(function () { 'use strict'; YUI.add('bz-review-history', function (Y) { @@ -390,4 +390,4 @@ "gallery-datatable-row-expansion-bmo", "handlebars", "escape", "promise" ] }); -}()); +}); -- cgit v1.2.3-24-g4f1b