Mercurial > kallithea
changeset 5515:cb17acb443c0 stable
javascript: fix missing variable declaration
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sun, 20 Sep 2015 22:22:50 +0200 |
parents | 1eeb3510917e |
children | bfa66e8887d7 |
files | kallithea/public/js/base.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/js/base.js Sun Sep 20 22:22:50 2015 +0200 +++ b/kallithea/public/js/base.js Sun Sep 20 22:22:50 2015 +0200 @@ -951,7 +951,7 @@ var getSelectionLink = function(e) { //get selection from start/to nodes if (typeof window.getSelection != "undefined") { - s = window.getSelection(); + var s = window.getSelection(); var from = _getIdentNode(s.anchorNode); var till = _getIdentNode(s.focusNode);