Skip to content

Commit

Permalink
update LICENSE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hpinkos committed Jul 11, 2014
1 parent ea179e5 commit 9d66041
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,6 @@ http://raphaeljs.com/icons/

http://raphaeljs.com/license.html

### Mouse vector icons made by Freepik from Flaticon.com
### Mouse and gesture vector icons made by Freepik from Flaticon.com

http://www.flaticon.com/authors/freepik
6 changes: 3 additions & 3 deletions Source/Widgets/NavigationHelpButton/NavigationHelpButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ define([
NavigationHelpButtonViewModel) {
"use strict";

function addListeners(viewModel) {
function addListeners(viewModel, showByDefault) {
var touchListener = function(){
viewModel._hasTouchscreen = true;
viewModel._touch = true;
viewModel.showInstructions = true;
viewModel.showInstructions = showByDefault;
document.removeEventListener('touchstart', touchListener, false);
document.removeEventListener('mousemove', mouseMoveListener, false);
};
Expand Down Expand Up @@ -161,7 +161,7 @@ cesiumSvgPath: { path: _svgPath, width: 32, height: 32 }');

knockout.applyBindings(viewModel, wrapper);

addListeners(viewModel);
addListeners(viewModel, options.instructionsInitiallyVisible);

this._container = container;
this._viewModel = viewModel;
Expand Down

0 comments on commit 9d66041

Please sign in to comment.