From 007608ef5f01fa37119df4c86cf18a075677677c Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 20 Feb 2013 14:27:12 +0530 Subject: [PATCH] add matchRatio embed option --- static/js/pandora/utils.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 530f4ad3..692647d2 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -1051,11 +1051,12 @@ pandora.logEvent = function(data, event, element) { pandora.normalizeHashQuery = function(state) { var embedKeys = [ 'annotationsFont', 'annotationsRange', 'annotationsSort', - 'embed', 'height', + 'embed', 'ignoreRights', 'invertHighlight', + 'matchRatio', 'paused', 'playInToOut', 'showAnnotations', 'showCloseButton', 'showLayers', 'showTimeline', - 'title', 'width' + 'title' ], isEmbed = state.hash && state.hash.query && Ox.indexOf(state.hash.query, function(condition) {