Browse Source

Tooltip fixes

master
Muthu Kumar 7 years ago
parent
commit
cab9ce0b02
  1. 4
      build.js
  2. 7
      docs/js/bundle.js
  3. 7
      js/modules/tooltip.js

4
build.js

@ -28,7 +28,7 @@ const cssfy = () => {
file: cssPath.get
}, function (err, result) {
fs.writeFile(cssPath.put, result.css, (e) => {
if (e) console.log(console.log('[ERR] : ' + e))
if (e) throw new Error('[ERR] : ' + e)
})
})
}
@ -39,7 +39,7 @@ function start() {
jsfy()
cssfy()
} catch (e) {
console.log('[ERR] : ' + e)
throw new Error('[ERR] : ' + e)
}
}

7
docs/js/bundle.js

File diff suppressed because one or more lines are too long

7
js/modules/tooltip.js

@ -45,9 +45,14 @@ const addToolTip = selector => {
addListener(
__('body'),
'touchstart',
(e) => { if (e.target !== __(tipcontent)) {
addListener(
__('body'),
'touchend',
(e) => { if (e.target !== __(tipcontent)) toggleOff(tipcontent) }
)
}}
)
}
//export default addToolTip
module.exports = addToolTip
Loading…
Cancel
Save