upgrade
This commit is contained in:
@ -3,7 +3,7 @@ import '~/layouts/common.styl'
|
||||
const $tags = document.getElementById('tags')
|
||||
const floatTop = $tags.offsetTop + $tags.scrollHeight + 30
|
||||
|
||||
function addEvent(obj, type, fn) {
|
||||
function addEvent (obj, type, fn) {
|
||||
if (obj.attachEvent) {
|
||||
obj.attachEvent('on' + type, function () {
|
||||
fn.call(obj)
|
||||
|
Reference in New Issue
Block a user