Skip to content

Commit

Permalink
Fix travis errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tomballgithub committed Dec 16, 2017
1 parent f6e2b05 commit 38ce7d0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,6 @@ function processPokemon(item) {

if (!(item['encounter_id'] in mapData.pokemons) &&
!isExcludedPoke && isPokeAlive) {

// Add marker to map and item to dict.
const isNotifyPkmn = isNotifyPoke(item)
if (!item.hidden && (!Store.get('hideNotNotified') || isNotifyPkmn)) {
Expand Down Expand Up @@ -2390,7 +2389,7 @@ $(function () {
$switchActiveRaidGymsOnly.on('change', function () {
Store.set('showActiveRaidsOnly', this.checked)
lastgyms = false

updateMap()
})

Expand Down Expand Up @@ -2826,17 +2825,17 @@ $(function () {

$('#bounce-switch').change(function () {
Store.set('isBounceDisabled', this.checked)
location.reload();
location.reload()
})

$('#hideunnotified-switch').change(function () {
Store.set('hideNotNotified', this.checked)
location.reload();
location.reload()
})

$('#popups-switch').change(function () {
Store.set('showPopups', this.checked)
location.reload();
location.reload()
})

$('#cries-switch').change(function () {
Expand Down

0 comments on commit 38ce7d0

Please sign in to comment.