aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-08-08 18:03:52 +0100
committerChris Mytton <self@hecticjeff.net>2013-08-08 18:03:52 +0100
commit8f959f64532d1a130f9e9c90ef792f6b642ecead (patch)
tree9f6133d8b67d3c1e9ea9646582dbee60b45d9619
parentc832942f6ec757b4763cb7e6a5ee59b6622cf594 (diff)
Explain what position_map_box is doing
-rw-r--r--web/cobrands/oxfordshire/position_map.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/cobrands/oxfordshire/position_map.js b/web/cobrands/oxfordshire/position_map.js
index a8f8e1993..a00d616da 100644
--- a/web/cobrands/oxfordshire/position_map.js
+++ b/web/cobrands/oxfordshire/position_map.js
@@ -1,3 +1,9 @@
+/**
+ * Position the map box correctly on window resize.
+ *
+ * Called from fixmystreet.js when the window 'resize' event is fired
+ * and the page is transitioning to a desktop version.
+ */
function position_map_box() {
var $html = $('html');
var oxfordshire_right;