From 6fbfade942f41cbdab52edbb7e538f71893a8a41 Mon Sep 17 00:00:00 2001 From: Alex de Mulder Date: Thu, 30 Jul 2015 20:40:24 +0200 Subject: [PATCH] rebuilt --- dist/vis.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/vis.js b/dist/vis.js index fff79531..a43d0fcc 100644 --- a/dist/vis.js +++ b/dist/vis.js @@ -15844,8 +15844,10 @@ return /******/ (function(modules) { // webpackBootstrap } // remove event listener on window.resize - util.removeEventListener(window, 'resize', this._onResize); - this._onResize = null; + if (this._onResize) { + util.removeEventListener(window, 'resize', this._onResize); + this._onResize = null; + } }; /**