From 6b2b8fd3c2e8afca856858c50d6ac2a3080f06f8 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 1 Jul 2018 01:28:35 +0900 Subject: [PATCH] =?UTF-8?q?html=205=20=EB=B9=84=ED=91=9C=EC=A4=80=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/js/ext.expand_city.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hwe/js/ext.expand_city.js b/hwe/js/ext.expand_city.js index 32b4ca91..707dd207 100644 --- a/hwe/js/ext.expand_city.js +++ b/hwe/js/ext.expand_city.js @@ -415,7 +415,7 @@ $(function() { //console.log(this); var $this = $(this); - var username = $this.attr('username'); + var username = $this.data('username'); var userInfo = userList[username]; if(!userInfo){ @@ -586,7 +586,7 @@ $(function() { var is수뇌 = stat.indexOf('+')>=0; - $this.attr('username',name); + $this.data('username',name); if(cityList[cityName].$태수.text() == name){ cityList[cityName].$태수.css('color','lightgreen'); @@ -670,7 +670,7 @@ $(function() { cityName = cityName.replace("[",""); cityName = cityName.replace("]",""); - $this.attr('cityname',cityName); + $this.data('cityname',cityName); cityInfo.지역 = cityLoc; cityInfo.규모 = citySize; @@ -814,7 +814,7 @@ $(function() { var arCity = []; $('.cityInfo').each(function(){ var $this = $(this); - var cityName = $this.attr('cityname'); + var cityName = $this.data('cityname'); var cityInfo = cityList[cityName]; arCity.push(cityInfo);