cytoscape / cytoscape.js-qtip

A Cytoscape.js extension that wraps the QTip jQuery library
MIT License
41 stars 35 forks source link

"content.title" option is ignored #10

Closed quatrano closed 8 years ago

quatrano commented 8 years ago

The content.title option is ignored during qtip initialization. eg:

elem.qtip({
  content: {
    title: 'My Title'
  }
});

or

elem.qtip({
  content: {
    title: function (event, api) {
      api.set('content.title', 'My Title');
    }
  }
});

In this block it looks like content.title is neglected, but it should receive the same treatment as content.text. An easy workaround is to call api.set('content.title', 'My Title'); from within my content.text function.

maxkfranz commented 8 years ago

Thanks, I've merged your PR