@nakedcreativity/cee-ms-node 0.3.32 → 0.3.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -595,7 +595,7 @@ ceems.prototype.render = function(req, res, page=null) {
595
595
 
596
596
  if(req.query.edit != null){
597
597
  var $ = cheerio.load(html);
598
- $.root().children('body').addClass('cee-ms-edit');
598
+ $('body').addClass('cee-ms-edit');
599
599
  html = $.html()
600
600
  }
601
601
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakedcreativity/cee-ms-node",
3
- "version": "0.3.32",
3
+ "version": "0.3.33",
4
4
  "description": "Cee.ms for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {